Merge remote-tracking branch 'malabudi/master' into dev

This commit is contained in:
Martin Robertz committed 2026-01-10 00:44:21 +01:00
commit b28f6bd8ce
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;