Filling a chunk triggers the block change saving algorithm

This commit is contained in:
Shoghi Cervantes 2013-05-26 12:48:20 +02:00
parent 7c3b8807e9
commit 424dba2fdd

View File

@ -261,6 +261,7 @@ class PMFLevel extends PMF{
} }
$index = $this->getIndex($X, $Z); $index = $this->getIndex($X, $Z);
$this->chunks[$index][$Y] = str_repeat("\x00", 8192); $this->chunks[$index][$Y] = str_repeat("\x00", 8192);
$this->chunkChange[$index][$Y] = 8192;
$this->locationTable[$index][0] |= 1 << $Y; $this->locationTable[$index][0] |= 1 << $Y;
return true; return true;
} }