mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-11 08:19:45 +00:00
Merge branch 'stable'
This commit is contained in:
commit
9fbf41b9a1
@ -1014,7 +1014,10 @@ class Player extends Human implements CommandSender, ChunkLoader, ChunkListener,
|
|||||||
}elseif($this->spawnChunkLoadCount++ === $this->spawnThreshold){
|
}elseif($this->spawnChunkLoadCount++ === $this->spawnThreshold){
|
||||||
$this->spawned = true;
|
$this->spawned = true;
|
||||||
|
|
||||||
foreach($this->usedChunks as $chunkHash => $_){
|
foreach($this->usedChunks as $chunkHash => $hasSent){
|
||||||
|
if(!$hasSent){
|
||||||
|
continue;
|
||||||
|
}
|
||||||
World::getXZ($chunkHash, $_x, $_z);
|
World::getXZ($chunkHash, $_x, $_z);
|
||||||
$this->spawnEntitiesOnChunk($_x, $_z);
|
$this->spawnEntitiesOnChunk($_x, $_z);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user