From 6a54dc7effa1ef0a6304f1c70b16100547c02fb1 Mon Sep 17 00:00:00 2001 From: Pierre Maurice Schwang Date: Fri, 15 Apr 2022 08:59:01 +0200 Subject: [PATCH] fix: typo (MaxBuildHeight -> MinBuildHeight) (#3572) --- .../java/com/plotsquared/core/generator/ClassicPlotManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/src/main/java/com/plotsquared/core/generator/ClassicPlotManager.java b/Core/src/main/java/com/plotsquared/core/generator/ClassicPlotManager.java index 7957ac912..19de13cc6 100644 --- a/Core/src/main/java/com/plotsquared/core/generator/ClassicPlotManager.java +++ b/Core/src/main/java/com/plotsquared/core/generator/ClassicPlotManager.java @@ -389,7 +389,7 @@ public class ClassicPlotManager extends SquarePlotManager { if (!plot.isMerged(Direction.NORTH)) { int z = bot.getZ(); for (int x = bot.getX(); x < top.getX(); x++) { - for (int y = classicPlotWorld.getMaxBuildHeight(); y <= classicPlotWorld.WALL_HEIGHT; y++) { + for (int y = classicPlotWorld.getMinBuildHeight(); y <= classicPlotWorld.WALL_HEIGHT; y++) { queue.setBlock(x, y, z, blocks); } }