mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-30 22:24:06 +01:00
Fixed unfollowing when panning to another player.
This commit is contained in:
parent
a4564889df
commit
803867fbc9
@ -526,7 +526,10 @@ DynMap.prototype = {
|
|||||||
})
|
})
|
||||||
.text(player.name)
|
.text(player.name)
|
||||||
)
|
)
|
||||||
.click(function(e) { me.panTo(player.location); })
|
.click(function(e) {
|
||||||
|
me.followPlayer(null);
|
||||||
|
me.panTo(player.location);
|
||||||
|
})
|
||||||
.appendTo(me.playerlist);
|
.appendTo(me.playerlist);
|
||||||
if (me.options.showplayerfacesinmenu) {
|
if (me.options.showplayerfacesinmenu) {
|
||||||
getMinecraftHead(player.name, 16, function(head) {
|
getMinecraftHead(player.name, 16, function(head) {
|
||||||
|
Loading…
Reference in New Issue
Block a user