Merge branch 'release/3.1'

This commit is contained in:
Dylan K. Taylor
2018-07-12 18:04:26 +01:00
4 changed files with 37 additions and 19 deletions

View File

@@ -1627,7 +1627,7 @@ class Level implements ChunkManager, Metadatable{
$spawnLocation = $this->getSpawnLocation();
$s = new Vector2($spawnLocation->x, $spawnLocation->z);
if(count($this->server->getOps()->getAll()) > 0 and $t->distance($s) <= $distance){
if($t->distance($s) <= $distance){
return true;
}
}