Fixed light population happening before population

This commit is contained in:
Shoghi Cervantes
2015-05-09 16:37:34 +02:00
parent 1a1b8830a4
commit ab18b7833f
3 changed files with 3 additions and 5 deletions

View File

@ -158,7 +158,7 @@ abstract class BaseFullChunk implements FullChunk{
}
if(!$this->isLightPopulated()){
if(!$this->isLightPopulated() and $this->isPopulated()){
$this->recalculateHeightMap();
$this->populateSkyLight();
$this->setLightPopulated();