Skip to content
Permalink
Browse files

Trilo tentacles should also be harvested with axes.

  • Loading branch information...
Ri5ux committed Apr 1, 2019
1 parent 08afcef commit 6291724e62ddba7af82b3824a1f5329c3dceecaf
@@ -42,6 +42,7 @@
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Items;
import net.minecraft.init.MobEffects;
import net.minecraft.item.ItemAxe;
import net.minecraft.item.ItemStack;
import net.minecraft.item.ItemSword;
import net.minecraft.nbt.NBTTagCompound;
@@ -506,7 +507,7 @@ public boolean hitByEntity(Entity entity)

if (held != null)
{
if (held.getItem() instanceof ItemSword || ItemWristbracer.equippedHasBlades(player))
if (held.getItem() instanceof ItemSword || held.getItem() instanceof ItemAxe || ItemWristbracer.equippedHasBlades(player))
{
this.detachTentacle();
}

0 comments on commit 6291724

Please sign in to comment.
You can’t perform that action at this time.