From bf6717050468b6479aeec15533ce104bb71d5df5 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Thu, 15 Apr 2021 23:22:53 +0100 Subject: [PATCH] SubChunk: don't assume 15 sky light when not allocated closes #2533 at long last... --- src/world/format/SubChunk.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/world/format/SubChunk.php b/src/world/format/SubChunk.php index e1f354a07a..676c643b81 100644 --- a/src/world/format/SubChunk.php +++ b/src/world/format/SubChunk.php @@ -110,7 +110,7 @@ class SubChunk{ } public function getBlockSkyLightArray() : LightArray{ - return $this->skyLight ??= LightArray::fill(15); + return $this->skyLight ??= LightArray::fill(0); } public function setBlockSkyLightArray(LightArray $data) : void{