From 94bc7fd011c2901de14d7f469d65674831ba0ff3 Mon Sep 17 00:00:00 2001 From: cola98765 Date: Thu, 14 Oct 2021 19:29:50 +0200 Subject: [PATCH] now ignoring isLightCorrect completely, old method is still available --- .../java/com/seibel/lod/builders/lodBuilding/LodBuilder.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/seibel/lod/builders/lodBuilding/LodBuilder.java b/src/main/java/com/seibel/lod/builders/lodBuilding/LodBuilder.java index 570af97b7..cc873b13c 100644 --- a/src/main/java/com/seibel/lod/builders/lodBuilding/LodBuilder.java +++ b/src/main/java/com/seibel/lod/builders/lodBuilding/LodBuilder.java @@ -25,6 +25,7 @@ import com.seibel.lod.enums.VerticalQuality; import com.seibel.lod.objects.LodDimension; import com.seibel.lod.objects.LodRegion; import com.seibel.lod.objects.LodWorld; +import com.seibel.lod.proxy.ClientProxy; import com.seibel.lod.util.*; import com.seibel.lod.wrappers.MinecraftWrapper; import net.minecraft.block.*; @@ -91,7 +92,7 @@ public class LodBuilder */ public int defaultDimensionWidthInRegions = 0; - public static final boolean useExperimentalLighting = false; + public static final boolean useExperimentalLighting = true; @@ -449,7 +450,7 @@ public class LodBuilder if (useExperimentalLighting) { skyLight = world.getBrightness(LightType.SKY, blockPos); - if (!chunk.isLightCorrect() && (skyLight <= 0 || skyLight >= 15)) + if (skyLight <= 0 || skyLight >= 15) { // we don't know what the light here is, // lets just take a guess