Scheduled saving

This commit is contained in:
Shoghi Cervantes Pueyo 2013-05-15 22:50:55 +02:00
parent 244fde8143
commit f1e4bb0f62
3 changed files with 11 additions and 2 deletions

View file

@ -224,6 +224,9 @@ class PMFLevel extends PMF{
}elseif($save !== false){
$this->saveChunk($X, $Z);
}
$index = $this->getIndex($X, $Z);
$this->chunks[$index] = null;
$this->chunkChange[$index] = null;
unset($this->chunks[$index], $this->chunkChange[$index]);
return true;
}