fix spotless violation

This commit is contained in:
__felix__ authored and GitHub committed 2025-12-21 15:35:38 -05:00
1 parent fce6fe2071
commit dcd6cdf202
1 file changed
+2 -2
@@ -95,8 +95,8 @@ public class TileOverchanter extends TileEntity implements IInventory, IWandable
.expand(6, 3, 6));
if (!players.isEmpty()) {
int lvlsleft = (int) Math.ceil(xpToAbsorb > 255 ?
(59 + Math.sqrt(24 * xpToAbsorb - 5159)) / 6 :
xpToAbsorb / 17d);
(59 + Math.sqrt(24 * xpToAbsorb - 5159)) / 6
: xpToAbsorb / 17d);
// it's a double in the second branch so that both branches use the same Math.sqrt
for (int i = 0; i < players.size(); ++i) {
EntityPlayer p = players.get(i);