mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
Fixed #2204
This commit is contained in:
parent
ce989876af
commit
01ffb14e39
@ -597,7 +597,7 @@ class Player extends Human implements CommandSender, InventoryHolder, IPlayer{
|
|||||||
|
|
||||||
protected function sendNextChunk(){
|
protected function sendNextChunk(){
|
||||||
if($this->connected === false){
|
if($this->connected === false){
|
||||||
return false;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$count = 0;
|
$count = 0;
|
||||||
@ -641,7 +641,7 @@ class Player extends Human implements CommandSender, InventoryHolder, IPlayer{
|
|||||||
}
|
}
|
||||||
|
|
||||||
if($spawned < 56){
|
if($spawned < 56){
|
||||||
return true;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->spawned = true;
|
$this->spawned = true;
|
||||||
@ -1265,7 +1265,7 @@ class Player extends Human implements CommandSender, InventoryHolder, IPlayer{
|
|||||||
$this->orderChunks();
|
$this->orderChunks();
|
||||||
}
|
}
|
||||||
|
|
||||||
if(count($this->loadQueue) > 0){
|
if(count($this->loadQueue) > 0 or !$this->spawned){
|
||||||
$this->sendNextChunk();
|
$this->sendNextChunk();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 8b8d35607971a7ac48354156f9d7c466094c7e98
|
Subproject commit 9a041749f3b8bba460ae413e7fa89f488dd7b652
|
Loading…
x
Reference in New Issue
Block a user