mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-16 19:59:11 +00:00
Yay generation uses async tasks
This commit is contained in:
@@ -594,7 +594,7 @@ class Player extends Human implements CommandSender, InventoryHolder, IPlayer{
|
||||
$Z = null;
|
||||
Level::getXZ($index, $X, $Z);
|
||||
|
||||
if(!$this->level->populateChunk($X, $Z, !$this->spawned or count($this->usedChunks) < ($this->viewDistance - 24))){
|
||||
if(!$this->level->populateChunk($X, $Z)){
|
||||
if($this->spawned){
|
||||
continue;
|
||||
}else{
|
||||
|
Reference in New Issue
Block a user