From dcd6cdf202ff8fc9d82d9df4aeed288ce09feb49 Mon Sep 17 00:00:00 2001 From: __felix__ <134875831+felixfour@users.noreply.github.com> Date: Sun, 21 Dec 2025 15:35:38 -0500 Subject: [PATCH] fix spotless violation --- src/main/java/tb/common/tile/TileOverchanter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/tb/common/tile/TileOverchanter.java b/src/main/java/tb/common/tile/TileOverchanter.java index a85b2ff..76845c2 100644 --- a/src/main/java/tb/common/tile/TileOverchanter.java +++ b/src/main/java/tb/common/tile/TileOverchanter.java @@ -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);