diff --git a/src/pocketmine/level/Level.php b/src/pocketmine/level/Level.php index cf29c43f0..d2aa56205 100644 --- a/src/pocketmine/level/Level.php +++ b/src/pocketmine/level/Level.php @@ -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; } }