mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 16:51:42 +00:00
PopulationTask: move setPopulated() call to make it more obvious what is going on
This commit is contained in:
parent
398b636759
commit
613bd40601
@ -113,11 +113,12 @@ class PopulationTask extends AsyncTask{
|
||||
|
||||
$generator->populateChunk($chunk->getX(), $chunk->getZ());
|
||||
$chunk = $manager->getChunk($chunk->getX(), $chunk->getZ());
|
||||
$chunk->setPopulated();
|
||||
|
||||
$chunk->recalculateHeightMap();
|
||||
$chunk->populateSkyLight();
|
||||
$chunk->setLightPopulated();
|
||||
$chunk->setPopulated();
|
||||
|
||||
$this->chunk = $chunk->fastSerialize();
|
||||
|
||||
foreach($chunks as $i => $c){
|
||||
|
Loading…
x
Reference in New Issue
Block a user