Merge branch 'stable'

This commit is contained in:
Dylan K. Taylor
2020-02-07 18:13:55 +00:00
88 changed files with 543 additions and 283 deletions

View File

@@ -145,7 +145,7 @@ class WorldManager{
foreach($world->getPlayers() as $player){
if($world === $this->defaultWorld or $this->defaultWorld === null){
$player->disconnect("Forced default world unload");
}elseif($this->defaultWorld instanceof World){
}else{
$player->teleport($this->defaultWorld->getSafeSpawn());
}
}