From 99da55dc944524536065f3fd5b1dc5bb5275dd72 Mon Sep 17 00:00:00 2001 From: wizjany Date: Mon, 15 Apr 2019 20:44:02 -0400 Subject: [PATCH] Fix building above bounds. --- .../src/main/java/com/sk89q/worldedit/forge/ForgeWorld.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldedit-forge/src/main/java/com/sk89q/worldedit/forge/ForgeWorld.java b/worldedit-forge/src/main/java/com/sk89q/worldedit/forge/ForgeWorld.java index 5dbdc09f6..152b1ac7d 100644 --- a/worldedit-forge/src/main/java/com/sk89q/worldedit/forge/ForgeWorld.java +++ b/worldedit-forge/src/main/java/com/sk89q/worldedit/forge/ForgeWorld.java @@ -428,7 +428,7 @@ public class ForgeWorld extends AbstractWorld { @Override public int getMaxY() { - return getWorld().getHeight(); + return getWorld().getHeight() - 1; } @Override