From cd71a6204f968cd31cd2e705240bec9d58d645a6 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Tue, 11 Feb 2020 19:43:25 +0000 Subject: [PATCH] Revert "PopulationTask: do not populate light in chunks out of the gate" This reverts commit 42148f0d15949faecfbbef8f09ef4355d3dd3899. --- src/world/generator/PopulationTask.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/world/generator/PopulationTask.php b/src/world/generator/PopulationTask.php index 2c6f12474..bfe22168b 100644 --- a/src/world/generator/PopulationTask.php +++ b/src/world/generator/PopulationTask.php @@ -118,6 +118,10 @@ class PopulationTask extends AsyncTask{ $chunk = $manager->getChunk($chunk->getX(), $chunk->getZ()); $chunk->setPopulated(); + $chunk->recalculateHeightMap(); + $chunk->populateSkyLight(); + $chunk->setLightPopulated(); + $this->chunk = FastChunkSerializer::serialize($chunk); foreach($chunks as $i => $c){