mirror of
https://github.com/GTNewHorizons/BloodMagic.git
synced 2026-11-27 23:33:15 +00:00
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:
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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user