mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-20 07:39:42 +00:00
Fixed player spawning in ungenerated terrain (#4087)
fixes #4044 fixes #2724 this is significantly more complex than I hoped for, but it's a start... and it works.
This commit is contained in:
@@ -285,7 +285,7 @@ class WorldManager{
|
||||
|
||||
foreach((new ChunkSelector())->selectChunks(3, $centerX, $centerZ) as $index){
|
||||
World::getXZ($index, $chunkX, $chunkZ);
|
||||
$world->orderChunkPopulation($chunkX, $chunkZ);
|
||||
$world->orderChunkPopulation($chunkX, $chunkZ, null);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user