From d2a72579aee93d76bec33bc14e616d605240f01e Mon Sep 17 00:00:00 2001 From: aumgn Date: Sun, 22 Apr 2012 08:29:49 +0200 Subject: [PATCH] Fix typos in CuboidRegion minimum/maximumY methods --- src/main/java/com/sk89q/worldedit/regions/CuboidRegion.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/sk89q/worldedit/regions/CuboidRegion.java b/src/main/java/com/sk89q/worldedit/regions/CuboidRegion.java index 2b5d2b4a6..4fd9c92c7 100644 --- a/src/main/java/com/sk89q/worldedit/regions/CuboidRegion.java +++ b/src/main/java/com/sk89q/worldedit/regions/CuboidRegion.java @@ -88,11 +88,11 @@ public class CuboidRegion extends AbstractRegion implements FlatRegion { } public int getMinimumY() { - return Math.min(pos1.getBlockX(), pos2.getBlockY()); + return Math.min(pos1.getBlockY(), pos2.getBlockY()); } public int getMaximumY() { - return Math.max(pos1.getBlockX(), pos2.getBlockY()); + return Math.max(pos1.getBlockY(), pos2.getBlockY()); } /**