From a67f0d1f7583933245dc5794a881b397aec869e5 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Thu, 3 Dec 2020 18:41:53 +0000 Subject: [PATCH] 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 ... --- src/world/World.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/world/World.php b/src/world/World.php index c14d6da09..314a51083 100644 --- a/src/world/World.php +++ b/src/world/World.php @@ -590,7 +590,7 @@ class World implements ChunkManager{ $this->cancelUnloadChunkRequest($chunkX, $chunkZ); if($autoLoad){ - $this->loadChunk($chunkX, $chunkZ, true); + $this->loadChunk($chunkX, $chunkZ, false); } }