mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-02-11 19:50:38 +00:00
Fix block break offset
This commit is contained in:
parent
0d9b6fa6ff
commit
3bb5650850
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue