mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-19 04:05:31 +00:00
World->registerChunkLoader() no longer causes creation of an empty chunk
this only made sense to work around the server crashing when creating a player in ungenerated terrain, but spawning at y=256 is hardly preferable, and it'll crash since fd99445c5bbd2a5a6fdd0109d8a196ea6160e0a3 anyway ...
This commit is contained in:
parent
1e7f9214cc
commit
a67f0d1f75
@ -590,7 +590,7 @@ class World implements ChunkManager{
|
|||||||
$this->cancelUnloadChunkRequest($chunkX, $chunkZ);
|
$this->cancelUnloadChunkRequest($chunkX, $chunkZ);
|
||||||
|
|
||||||
if($autoLoad){
|
if($autoLoad){
|
||||||
$this->loadChunk($chunkX, $chunkZ, true);
|
$this->loadChunk($chunkX, $chunkZ, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user