diff --git a/src/pocketmine/Player.php b/src/pocketmine/Player.php index 26d419f0e..129b60aec 100644 --- a/src/pocketmine/Player.php +++ b/src/pocketmine/Player.php @@ -313,7 +313,7 @@ class Player extends Human implements CommandSender, InventoryHolder, IPlayer{ * @param Player $player */ public function spawnTo(Player $player){ - if($this->spawned === true and $player->spawned === true and $this->isAlive() and $player->isAdventure() and $player->getLevel() === $this->level and $player->canSee($this) and !$this->isSpectator()){ + if($this->spawned and $player->spawned and $this->isAlive() and $player->isAlive() and $player->getLevel() === $this->level and $player->canSee($this) and !$this->isSpectator()){ parent::spawnTo($player); } }