From 286736eab4b8d6fb0343828674cf0195261ddd7a Mon Sep 17 00:00:00 2001 From: Jon Pro Date: Wed, 22 Nov 2023 00:16:36 -0600 Subject: [PATCH] Fix bug where we overwrite sky light with block light (#406) --- Obsidian/WorldData/Region.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Obsidian/WorldData/Region.cs b/Obsidian/WorldData/Region.cs index db721cc3f..326f671b0 100644 --- a/Obsidian/WorldData/Region.cs +++ b/Obsidian/WorldData/Region.cs @@ -230,7 +230,7 @@ private static Chunk DeserializeChunk(NbtCompound chunkCompound) { var array = (NbtArray)blockLightTag; - section.SetLight(array.GetArray(), LightType.Sky); + section.SetLight(array.GetArray(), LightType.Block); } }