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:
Dylan K. Taylor 2020-12-03 18:41:53 +00:00
parent 1e7f9214cc
commit a67f0d1f75

View File

@ -590,7 +590,7 @@ class World implements ChunkManager{
$this->cancelUnloadChunkRequest($chunkX, $chunkZ);
if($autoLoad){
$this->loadChunk($chunkX, $chunkZ, true);
$this->loadChunk($chunkX, $chunkZ, false);
}
}