mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-04 17:06:16 +00:00
Moved light population to an async task when needed, improved empty chunks
This commit is contained in:
@ -164,12 +164,6 @@ abstract class BaseFullChunk implements FullChunk{
|
||||
|
||||
$this->isInit = true;
|
||||
}
|
||||
|
||||
if(!$this->isLightPopulated() and $this->isPopulated()){
|
||||
$this->recalculateHeightMap();
|
||||
$this->populateSkyLight();
|
||||
$this->setLightPopulated();
|
||||
}
|
||||
}
|
||||
|
||||
public function getX(){
|
||||
|
Reference in New Issue
Block a user