mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-13 23:15:29 +00:00
RegionLoader: Write location table changes when deleting chunks
This commit is contained in:
parent
abdbb2bf0e
commit
447477c5fb
@ -224,6 +224,7 @@ class RegionLoader{
|
|||||||
public function removeChunk(int $x, int $z){
|
public function removeChunk(int $x, int $z){
|
||||||
$index = self::getChunkOffset($x, $z);
|
$index = self::getChunkOffset($x, $z);
|
||||||
$this->locationTable[$index] = new RegionLocationTableEntry(0, 0, 0);
|
$this->locationTable[$index] = new RegionLocationTableEntry(0, 0, 0);
|
||||||
|
$this->writeLocationIndex($index);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user