Moved light population to an async task when needed, improved empty chunks

This commit is contained in:
Shoghi Cervantes
2015-05-28 23:13:20 +02:00
parent 0f5f71e612
commit c578898aa4
7 changed files with 104 additions and 11 deletions

View File

@ -164,12 +164,6 @@ abstract class BaseFullChunk implements FullChunk{
$this->isInit = true;
}
if(!$this->isLightPopulated() and $this->isPopulated()){
$this->recalculateHeightMap();
$this->populateSkyLight();
$this->setLightPopulated();
}
}
public function getX(){