mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-28 21:25:46 +01:00
Fix exception if initial update has stale logoff for player+chat
This commit is contained in:
parent
5b7ad0f4c9
commit
c9494a312d
@ -18,6 +18,8 @@ componentconstructors['chatballoon'] = function(dynmap, configuration) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
var player = dynmap.players[message.name];
|
var player = dynmap.players[message.name];
|
||||||
|
if (!player)
|
||||||
|
return;
|
||||||
if (dynmap.world !== player.location.world) {
|
if (dynmap.world !== player.location.world) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user