mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-23 00:55:57 +00:00
Remove chunks from advanced cache after setting
This commit is contained in:
parent
cbe0fe5e46
commit
0680b98380
@ -1606,6 +1606,9 @@ class Level implements ChunkManager, Metadatable{
|
||||
$this->provider->setChunk($x, $z, $chunk);
|
||||
$this->chunks[$index] = $chunk;
|
||||
}
|
||||
if(ADVANCED_CACHE == true){
|
||||
Cache::remove("world:" . $this->getID() . ":$x:$z");
|
||||
}
|
||||
$chunk->setChanged();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user