mirror of
https://github.com/GTNewHorizons/BloodMagic.git
synced 2026-11-19 19:49:51 +00:00
Replace hardcoded values
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user