mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-25 04:13:44 +00:00
Check if player is online before showing
This commit is contained in:
parent
4c83e9bb56
commit
badbe75d58
@ -282,7 +282,9 @@ class Player extends Human implements CommandSender, InventoryHolder, IPlayer{
|
||||
return;
|
||||
}
|
||||
unset($this->hiddenPlayers[$player->getName()]);
|
||||
$player->spawnTo($this);
|
||||
if($player->isOnline()){
|
||||
$player->spawnTo($this);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user