Fix typos in CuboidRegion minimum/maximumY methods

This commit is contained in:
aumgn 2012-04-22 08:29:49 +02:00
parent ebbbc9f1a8
commit d2a72579ae

View File

@ -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());
}
/**