possible fix to skylight... revert if worse than before

This commit is contained in:
cola98765
2021-10-14 15:11:36 +02:00
parent 9906eb75f4
commit d8981af7aa
@@ -447,9 +447,8 @@ public class LodBuilder
skyLight = DEFAULT_MAX_LIGHT;
else
{
if (chunk.isLightCorrect())
skyLight = world.getBrightness(LightType.SKY, blockPos);
else
skyLight = world.getBrightness(LightType.SKY, blockPos);
if (!chunk.isLightCorrect() && (skyLight == 0 || skyLight == 15))
{
// we don't know what the light here is,
// lets just take a guess