From 91017acce48ec4ffa04747cf28c05a621367619e Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Mon, 27 Jun 2022 17:41:47 +0100 Subject: [PATCH] Realistically only need the "highest" y level of adding overlay block errors --- .../java/com/plotsquared/core/generator/HybridPlotWorld.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/src/main/java/com/plotsquared/core/generator/HybridPlotWorld.java b/Core/src/main/java/com/plotsquared/core/generator/HybridPlotWorld.java index c14b4f29e..b4598fad6 100644 --- a/Core/src/main/java/com/plotsquared/core/generator/HybridPlotWorld.java +++ b/Core/src/main/java/com/plotsquared/core/generator/HybridPlotWorld.java @@ -500,7 +500,7 @@ public class HybridPlotWorld extends ClassicPlotWorld { int pair = MathMan.pair(x, z); BaseBlock[] existing = this.G_SCH.computeIfAbsent(pair, k -> new BaseBlock[height]); if (y >= height) { - if (y != lastOverlayHeightError) { + if (y > lastOverlayHeightError) { lastOverlayHeightError = y; LOGGER.error(String.format("Error adding overlay block. `y > height`. y=%s, height=%s", y, height)); }