mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 07:06:44 +01:00
Fix block break offset
This commit is contained in:
parent
0d9b6fa6ff
commit
3bb5650850
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user