Fixed crashes when default level is not loaded

This commit is contained in:
Shoghi Cervantes
2014-08-18 13:42:20 +02:00
parent 67b97ade8b
commit 16774e66e6
2 changed files with 7 additions and 1 deletions

View File

@ -347,7 +347,6 @@ namespace pocketmine {
ThreadManager::init();
$server = new Server($autoloader, $logger, \pocketmine\PATH, \pocketmine\DATA, \pocketmine\PLUGIN_PATH);
$server->start();
foreach(ThreadManager::getInstance()->getAll() as $id => $thread){
if($thread->isRunning()){