Replace hardcoded values

This commit is contained in:
koolkrafter5 committed 2025-04-10 16:37:23 -04:00
1 parent 38a7bbbe55
commit 1ea6d9c700
3 files changed
+3 -3

No files matched your search

@@ -145,7 +145,7 @@ public class BoundAxe extends ItemAxe implements IBindable {
if (par1ItemStack.getTagCompound() == null) {
par1ItemStack.setTagCompound(new NBTTagCompound());
}
IBindable.passiveDrain(par1ItemStack, par2World, par3EntityPlayer, 200, 20);
IBindable.passiveDrain(par1ItemStack, par2World, par3EntityPlayer, tickDelay, 20);
par1ItemStack.setItemDamage(0);
}
@@ -162,7 +162,7 @@ public class BoundPickaxe extends ItemPickaxe implements IBindable {
par1ItemStack.setTagCompound(new NBTTagCompound());
}
IBindable.passiveDrain(par1ItemStack, par2World, par3EntityPlayer, 200, 20);
IBindable.passiveDrain(par1ItemStack, par2World, par3EntityPlayer, tickDelay, 20);
par1ItemStack.setItemDamage(0);
}
@@ -147,7 +147,7 @@ public class BoundShovel extends ItemSpade implements IBindable {
par1ItemStack.setTagCompound(new NBTTagCompound());
}
IBindable.passiveDrain(par1ItemStack, par2World, par3EntityPlayer, 200, 20);
IBindable.passiveDrain(par1ItemStack, par2World, par3EntityPlayer, tickDelay, 20);
par1ItemStack.setItemDamage(0);
}