mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-22 13:09:53 +00:00
Remove the broken flag on tools when adding a durability modifier to a broken tool (#245)
This commit is contained in:
1 file changed
+1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user