diff --git a/src/main/java/com/intellectualcrafters/plot/util/MathMan.java b/src/main/java/com/intellectualcrafters/plot/util/MathMan.java index fa02ac867..21c52468f 100644 --- a/src/main/java/com/intellectualcrafters/plot/util/MathMan.java +++ b/src/main/java/com/intellectualcrafters/plot/util/MathMan.java @@ -33,7 +33,7 @@ public class MathMan { } public static int roundInt(double value) { - return (int) (value < 0 ? (value == (int) value) ? value : - 1 : value); + return (int) (value < 0 ? (value == (int) value) ? value : value - 1 : value); } /**