From accf082309a2b107fef7d2aea9f6b0cc067cb1f2 Mon Sep 17 00:00:00 2001 From: cola98765 Date: Sat, 16 Oct 2021 22:42:58 +0200 Subject: [PATCH] No longer removing 1 block gaps as with new lighting it shouldn't look worse --- src/main/java/com/seibel/lod/util/DataPointUtil.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/seibel/lod/util/DataPointUtil.java b/src/main/java/com/seibel/lod/util/DataPointUtil.java index df596c573..0d7f462df 100644 --- a/src/main/java/com/seibel/lod/util/DataPointUtil.java +++ b/src/main/java/com/seibel/lod/util/DataPointUtil.java @@ -265,7 +265,7 @@ public class DataPointUtil int genMode = DistanceGenerationMode.SERVER.complexity; boolean allEmpty = true; boolean allVoid = true; - boolean allDefault = true; + boolean allDefault; long singleData; @@ -399,8 +399,10 @@ public class DataPointUtil return dataPoint; } + + //we cut the 1 block gaps - int j; + /*int j; for (i = 0; i < count - 1; i++) { if (heightAndDepth[i * 2 + 1] - heightAndDepth[(i + 1) * 2] == 1) @@ -414,10 +416,10 @@ public class DataPointUtil count--; i--; } - } + }*/ //we limit the vertical portion to maxVerticalData - j = 0; + int j = 0; while (count > maxVerticalData) { ii = worldHeight;