diff --git a/src/main/java/com/seibel/lod/core/builders/lodBuilding/LodBuilder.java b/src/main/java/com/seibel/lod/core/builders/lodBuilding/LodBuilder.java index 3cfb71973..2879d42b6 100644 --- a/src/main/java/com/seibel/lod/core/builders/lodBuilding/LodBuilder.java +++ b/src/main/java/com/seibel/lod/core/builders/lodBuilding/LodBuilder.java @@ -270,12 +270,14 @@ public class LodBuilder { yAbs = depth; light = getLightValue(chunk, xAbs,yAbs,zAbs, true, hasSkyLight, true); - color = generateLodColor(chunk, config, xAbs, yAbs, zAbs); + //TODO don't ask me why, but apparently it works + color = generateLodColor(chunk, config, xAbs, yAbs - DEFAULT_DEPTH, zAbs); } else { light = getLightValue(chunk, xAbs, yAbs, zAbs, hasCeiling, hasSkyLight, topBlock); - color = generateLodColor(chunk, config, xAbs, yAbs, zAbs); + //TODO don't ask me why, but apparently it works + color = generateLodColor(chunk, config, xAbs, yAbs - DEFAULT_DEPTH, zAbs); } lightBlock = light & 0b1111; lightSky = (light >> 4) & 0b1111;