mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-23 11:26:37 +00:00
World: remove useless isLightPopulated() check
chunks are never light populated when loaded from disk now.
This commit is contained in:
parent
626680c6c1
commit
b727972c76
@ -2143,7 +2143,7 @@ class World implements ChunkManager{
|
|||||||
|
|
||||||
(new ChunkLoadEvent($this, $chunk, !$chunk->isGenerated()))->call();
|
(new ChunkLoadEvent($this, $chunk, !$chunk->isGenerated()))->call();
|
||||||
|
|
||||||
if(!$chunk->isLightPopulated() and $chunk->isPopulated()){
|
if($chunk->isPopulated()){
|
||||||
$this->getServer()->getAsyncPool()->submitTask(new LightPopulationTask($this, $chunk));
|
$this->getServer()->getAsyncPool()->submitTask(new LightPopulationTask($this, $chunk));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user