Fix block break offset

This commit is contained in:
boy0001 2015-08-12 15:11:57 +10:00
parent 0d9b6fa6ff
commit 3bb5650850

View File

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