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