Fix exception if initial update has stale logoff for player+chat
This commit is contained in:
parent
5b7ad0f4c9
commit
c9494a312d
1 changed files with 2 additions and 0 deletions
|
|
@ -18,6 +18,8 @@ componentconstructors['chatballoon'] = function(dynmap, configuration) {
|
|||
return;
|
||||
}
|
||||
var player = dynmap.players[message.name];
|
||||
if (!player)
|
||||
return;
|
||||
if (dynmap.world !== player.location.world) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue