mirror of
https://github.com/GTNewHorizons/BloodMagic.git
synced 2026-11-28 15:35:59 +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
@@ -34,7 +34,7 @@ public class EnergySword extends ItemSword implements IBindable {
|
||||
setCreativeTab(AlchemicalWizardry.tabBloodMagic);
|
||||
setEnergyUsed(50);
|
||||
setFull3D();
|
||||
setMaxDamage(100);
|
||||
setMaxDamage(0);
|
||||
}
|
||||
|
||||
public void setEnergyUsed(int i) {
|
||||
@@ -106,7 +106,6 @@ public class EnergySword extends ItemSword implements IBindable {
|
||||
}
|
||||
|
||||
checkPassiveDrain(item, world, player);
|
||||
item.setItemDamage(0);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user