Fix exception if initial update has stale logoff for player+chat
This commit is contained in:
parent
7465fbcc28
commit
3df286ceee
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue