From 3bb5650850ab33fee7516865a56253dc3227d713 Mon Sep 17 00:00:00 2001 From: boy0001 Date: Wed, 12 Aug 2015 15:11:57 +1000 Subject: [PATCH] Fix block break offset --- src/main/java/com/intellectualcrafters/plot/util/MathMan.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } /**