/** * * @param Player $player */ public function showPlayer(Player $player) { if ($player === $this) { return; } unset($this->hiddenPlayers[$player->getRawUniqueId()]); if ($player->isOnline()) { $player->spawnTo($this); } }