small fix to that light fix

This commit is contained in:
cola98765
2021-10-14 18:02:58 +02:00
parent d8981af7aa
commit 7c07a88b45
@@ -448,7 +448,7 @@ public class LodBuilder
else
{
skyLight = world.getBrightness(LightType.SKY, blockPos);
if (!chunk.isLightCorrect() && (skyLight == 0 || skyLight == 15))
if (!chunk.isLightCorrect() && (skyLight <= 0 || skyLight >= 15))
{
// we don't know what the light here is,
// lets just take a guess