Try to clean chunks on other threads

This commit is contained in:
Shoghi Cervantes
2015-04-15 22:14:51 +02:00
parent f79476f530
commit 7ee21f6254
2 changed files with 6 additions and 1 deletions

View File

@ -117,6 +117,10 @@ class SimpleChunkManager implements ChunkManager{
$this->chunks[Level::chunkHash($chunkX, $chunkZ)] = $chunk;
}
public function cleanChunks(){
$this->chunks = [];
}
/**
* Gets the level seed
*