diff --git a/src/world/Level.php b/src/world/Level.php index 57816829f..7a2f1aafe 100644 --- a/src/world/Level.php +++ b/src/world/Level.php @@ -68,6 +68,9 @@ class Level{ } public function checkThings(){ + if(!isset($this->level){ + return false; + } $this->players = $this->server->api->player->getAll($this); $now = microtime(true); $time = $this->startTime + ($now - $this->startCheck) * 20;