diff --git a/src/pocketmine/Player.php b/src/pocketmine/Player.php index 14ca35f3c..ada5444f3 100644 --- a/src/pocketmine/Player.php +++ b/src/pocketmine/Player.php @@ -597,7 +597,7 @@ class Player extends Human implements CommandSender, InventoryHolder, IPlayer{ protected function sendNextChunk(){ if($this->connected === false){ - return false; + return; } $count = 0; @@ -641,7 +641,7 @@ class Player extends Human implements CommandSender, InventoryHolder, IPlayer{ } if($spawned < 56){ - return true; + return; } $this->spawned = true; @@ -1265,7 +1265,7 @@ class Player extends Human implements CommandSender, InventoryHolder, IPlayer{ $this->orderChunks(); } - if(count($this->loadQueue) > 0){ + if(count($this->loadQueue) > 0 or !$this->spawned){ $this->sendNextChunk(); } diff --git a/src/raklib b/src/raklib index 8b8d35607..9a041749f 160000 --- a/src/raklib +++ b/src/raklib @@ -1 +1 @@ -Subproject commit 8b8d35607971a7ac48354156f9d7c466094c7e98 +Subproject commit 9a041749f3b8bba460ae413e7fa89f488dd7b652