RegionLoader: Write location table changes when deleting chunks

This commit is contained in:
Dylan K. Taylor 2019-03-14 15:02:15 +00:00
parent abdbb2bf0e
commit 447477c5fb

View File

@ -224,6 +224,7 @@ class RegionLoader{
public function removeChunk(int $x, int $z){
$index = self::getChunkOffset($x, $z);
$this->locationTable[$index] = new RegionLocationTableEntry(0, 0, 0);
$this->writeLocationIndex($index);
}
/**