From 42148f0d15949faecfbbef8f09ef4355d3dd3899 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Tue, 11 Feb 2020 19:14:01 +0000 Subject: [PATCH] PopulationTask: do not populate light in chunks out of the gate this is a relic from when we needed to store light on disk. Now we can just calculate lighting as-needed instead. --- src/world/generator/PopulationTask.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/world/generator/PopulationTask.php b/src/world/generator/PopulationTask.php index bfe22168b..2c6f12474 100644 --- a/src/world/generator/PopulationTask.php +++ b/src/world/generator/PopulationTask.php @@ -118,10 +118,6 @@ 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){