disabled connected lods in hasCeiling dimensions

This commit is contained in:
cola98765
2021-12-26 16:19:06 +01:00
parent 966677b89e
commit ac102402cc
@@ -263,7 +263,7 @@ public class LodBuilder
yAbs = height - 1;
// We search light on above air block
depth = determineBottomPointFrom(chunk, config, xAbs, yAbs, zAbs, count < timesToEdgeDetect);
depth = determineBottomPointFrom(chunk, config, xAbs, yAbs, zAbs, count < timesToEdgeDetect && !hasCeiling);
if (hasCeiling && topBlock)
{
yAbs = depth;