Code: [18:48:44] [Server thread/CRITICAL]: Unhandled exception executing command 'mine a' in mine: Call to a member function getSafeSpawn() on null [18:48:44] [Server thread/CRITICAL]: Error: "Call to a member function getSafeSpawn() on null" (EXCEPTION) in "test/src/test/Main" at line 78 this used to work.. PHP: $player->teleport($this->getServer()->getLevelByName($c[3])->getSafeSpawn());