mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-28 05:05:16 +01:00
Fixed not being able to follow players.
This commit is contained in:
parent
b985a55b92
commit
d98fe89c42
@ -517,7 +517,9 @@ DynMap.prototype = {
|
|||||||
.text(player.name)
|
.text(player.name)
|
||||||
)
|
)
|
||||||
.click(function(e) {
|
.click(function(e) {
|
||||||
me.followPlayer(null);
|
if (me.followingPlayer !== player) {
|
||||||
|
me.followPlayer(null);
|
||||||
|
}
|
||||||
me.panTo(player.location);
|
me.panTo(player.location);
|
||||||
})
|
})
|
||||||
.appendTo(me.playerlist);
|
.appendTo(me.playerlist);
|
||||||
|
Loading…
Reference in New Issue
Block a user