mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 10:53:05 +00:00
Modified Chunk provider saving
This commit is contained in:
@ -95,6 +95,8 @@ class Anvil extends McRegion{
|
||||
throw new \Exception("Invalid Chunk class");
|
||||
}
|
||||
|
||||
$chunk->setProvider($this);
|
||||
|
||||
if($chunk->isPopulated() === false){
|
||||
$this->unloadChunk($chunkX, $chunkZ, false);
|
||||
$regionX = $regionZ = null;
|
||||
|
Reference in New Issue
Block a user