diff --git a/src/main/java/com/intellectualcrafters/plot/util/MathMan.java b/src/main/java/com/intellectualcrafters/plot/util/MathMan.java index 899581fe2..fa02ac867 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 - 1 : value); + return (int) (value < 0 ? (value == (int) value) ? value : - 1 : value); } /**