Fixed unfollowing when panning to another player.
This commit is contained in:
parent
fe0ece8235
commit
a29c29ae2b
1 changed files with 4 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue