mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Revert "PopulationTask: do not populate light in chunks out of the gate"
This reverts commit 42148f0d15
.
This commit is contained in:
@ -118,6 +118,10 @@ class PopulationTask extends AsyncTask{
|
|||||||
$chunk = $manager->getChunk($chunk->getX(), $chunk->getZ());
|
$chunk = $manager->getChunk($chunk->getX(), $chunk->getZ());
|
||||||
$chunk->setPopulated();
|
$chunk->setPopulated();
|
||||||
|
|
||||||
|
$chunk->recalculateHeightMap();
|
||||||
|
$chunk->populateSkyLight();
|
||||||
|
$chunk->setLightPopulated();
|
||||||
|
|
||||||
$this->chunk = FastChunkSerializer::serialize($chunk);
|
$this->chunk = FastChunkSerializer::serialize($chunk);
|
||||||
|
|
||||||
foreach($chunks as $i => $c){
|
foreach($chunks as $i => $c){
|
||||||
|
Reference in New Issue
Block a user