From 2ccc23460862c462a45903ba23969953f0facc5c Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Tue, 17 Nov 2020 21:06:03 +1300 Subject: [PATCH] Correct typo from max world height of 265 to 256 --- .../src/main/java/com/sk89q/worldedit/EditSession.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/EditSession.java b/worldedit-core/src/main/java/com/sk89q/worldedit/EditSession.java index 04031ca97..846bc0794 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/EditSession.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/EditSession.java @@ -2559,7 +2559,7 @@ public class EditSession extends PassthroughExtent implements AutoCloseable { int zv = (int) (z.getValue() * unit.getZ() + zero2.getZ()); BlockState get; - if (yv >= 0 && yv < 265) { + if (yv >= 0 && yv < 256) { get = getBlock(xv, yv, zv); } else { get = BlockTypes.AIR.getDefaultState();