Added missing super call to ItemTerraSword.onUpdate. Closes #588

This commit is contained in:
Lizbeth Rika committed 2015-02-21 00:10:56 +00:00
1 parent ee37687996
commit d2f151bb7d
1 file changed
+1
@@ -48,6 +48,7 @@ public class ItemTerraSword extends ItemManasteelSword implements ILensEffect, I
@Override
public void onUpdate(ItemStack par1ItemStack, World par2World, Entity par3Entity, int par4, boolean par5) {
super.onUpdate(par1ItemStack, par2World, par3Entity, par4, par5);
if(par3Entity instanceof EntityPlayer) {
EntityPlayer player = (EntityPlayer) par3Entity;
PotionEffect haste = player.getActivePotionEffect(Potion.digSpeed);