Make bound tools truly ignore durability damage rather than just repairing the damage when held for free (#150)

Co-authored-by: Nikolay S. <[email protected]>
This commit is contained in:
koolkrafter5andNikolay S. authored and GitHub committed 2026-11-01 20:16:32 -06:00
1 parent 927e531af8
commit d299b0a1b0
4 files changed
+4 -11

No files matched your search

@@ -49,6 +49,7 @@ public class BoundPickaxe extends ItemPickaxe implements IBindable {
setCreativeTab(AlchemicalWizardry.tabBloodMagic);
this.setEnergyUsed(5);
setHarvestLevel("pickaxe", 7);
setMaxDamage(0);
}
public void setEnergyUsed(int i) {
@@ -183,7 +184,6 @@ public class BoundPickaxe extends ItemPickaxe implements IBindable {
}
checkPassiveDrain(item, world, player);
item.setItemDamage(0);
}
/**