mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-03 00:25:04 +00:00
Try to clean chunks on other threads
This commit is contained in:
@ -117,6 +117,10 @@ class SimpleChunkManager implements ChunkManager{
|
||||
$this->chunks[Level::chunkHash($chunkX, $chunkZ)] = $chunk;
|
||||
}
|
||||
|
||||
public function cleanChunks(){
|
||||
$this->chunks = [];
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the level seed
|
||||
*
|
||||
|
Reference in New Issue
Block a user