mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-05 01:16:15 +00:00
thanks for the warning PhpStorm... not
This commit is contained in:
@ -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()]));
|
||||
|
Reference in New Issue
Block a user