mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-08 04:38:35 +00:00
thanks for the warning PhpStorm... not
This commit is contained in:
parent
c16c9efdf3
commit
376a615634
@ -2778,9 +2778,9 @@ class Level implements ChunkManager, Metadatable{
|
|||||||
foreach($this->getChunkLoaders($x, $z) as $loader){
|
foreach($this->getChunkLoaders($x, $z) as $loader){
|
||||||
$loader->onChunkUnloaded($chunk);
|
$loader->onChunkUnloaded($chunk);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
$chunk->onUnload();
|
$chunk->onUnload();
|
||||||
|
}
|
||||||
}catch(\Throwable $e){
|
}catch(\Throwable $e){
|
||||||
$logger = $this->server->getLogger();
|
$logger = $this->server->getLogger();
|
||||||
$logger->error($this->server->getLanguage()->translateString("pocketmine.level.chunkUnloadError", [$e->getMessage()]));
|
$logger->error($this->server->getLanguage()->translateString("pocketmine.level.chunkUnloadError", [$e->getMessage()]));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user