Skip to content

Commit

Permalink
Fix bug where we overwrite sky light with block light (#406)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonpro03 authored Nov 22, 2023
1 parent f08150c commit 286736e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Obsidian/WorldData/Region.cs
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ private static Chunk DeserializeChunk(NbtCompound chunkCompound)
{
var array = (NbtArray<byte>)blockLightTag;

section.SetLight(array.GetArray(), LightType.Sky);
section.SetLight(array.GetArray(), LightType.Block);
}
}

Expand Down

0 comments on commit 286736e

Please sign in to comment.