cleanup some chunks leftovers from 1.0

This commit is contained in:
Dylan K. Taylor
2017-11-19 17:52:36 +00:00
parent 5640bcb0b8
commit 2fd61163bf
4 changed files with 3 additions and 18 deletions

View File

@ -78,7 +78,7 @@ class PopulationTask extends AsyncTask{
$zz = -1 + (int) ($i / 3);
$ck = $this->{"chunk$i"};
if($ck === null){
$chunks[$i] = Chunk::getEmptyChunk($chunk->getX() + $xx, $chunk->getZ() + $zz);
$chunks[$i] = new Chunk($chunk->getX() + $xx, $chunk->getZ() + $zz);
}else{
$chunks[$i] = Chunk::fastDeserialize($ck);
}