Commit afba5de
authored
Merge pull request #1 from ILikePlayingGames/round-up
Rounding fix
- Floating point value cannot be assigned to Integer directly.
- Using `100.0` rather than `worldSleepPercent.floatValue()` to produce a value that can be rounded.
Round up on 'sleepers needed' placeholder instead of rounding down1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
0 commit comments