From c521bd44d27f27fac71886fe61066b662bb64b16 Mon Sep 17 00:00:00 2001 From: Moe <80290328+malabudi@users.noreply.github.com> Date: Sun, 25 Jan 2026 03:37:06 -0500 Subject: [PATCH] Remove the broken flag on tools when adding a durability modifier to a broken tool (#245) --- src/main/java/tconstruct/modifiers/tools/ModDurability.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/tconstruct/modifiers/tools/ModDurability.java b/src/main/java/tconstruct/modifiers/tools/ModDurability.java index 3660fc23..a30952dd 100644 --- a/src/main/java/tconstruct/modifiers/tools/ModDurability.java +++ b/src/main/java/tconstruct/modifiers/tools/ModDurability.java @@ -42,6 +42,7 @@ public class ModDurability extends ItemModifier { bonus += durability; modDur += modifier; + tags.setBoolean("Broken", false); int total = (int) ((base + bonus) * (modDur + 1f)); if (total <= 0) total = 1;