pocketmine\entity\Entity::respawnToAll PHP Method

respawnToAll() public method

public respawnToAll ( )
    public function respawnToAll()
    {
        foreach ($this->hasSpawned as $key => $player) {
            unset($this->hasSpawned[$key]);
            $this->spawnTo($player);
        }
    }