thanks for the warning PhpStorm... not

This commit is contained in:
Dylan K. Taylor 2018-01-02 11:14:01 +00:00
parent c16c9efdf3
commit 376a615634

View File

@ -2778,9 +2778,9 @@ class Level implements ChunkManager, Metadatable{
foreach($this->getChunkLoaders($x, $z) as $loader){
$loader->onChunkUnloaded($chunk);
}
}
$chunk->onUnload();
$chunk->onUnload();
}
}catch(\Throwable $e){
$logger = $this->server->getLogger();
$logger->error($this->server->getLanguage()->translateString("pocketmine.level.chunkUnloadError", [$e->getMessage()]));