mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 11:49:37 +00:00
Added missing super call to ItemTerraSword.onUpdate. Closes #588
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user