diff --git a/src/main/java/tconstruct/tools/TActiveOmniMod.java b/src/main/java/tconstruct/tools/TActiveOmniMod.java index c0e1fccf..fcc17b69 100644 --- a/src/main/java/tconstruct/tools/TActiveOmniMod.java +++ b/src/main/java/tconstruct/tools/TActiveOmniMod.java @@ -30,6 +30,8 @@ public class TActiveOmniMod extends ActiveToolMod { if (!world.isRemote && entity instanceof EntityLivingBase && !((EntityLivingBase) entity).isSwingInProgress && stack.getTagCompound() != null) { + if(entity instanceof EntityPlayer && (((EntityPlayer) entity).isUsingItem()) && ((EntityPlayer) entity).getItemInUse() == stack) + return; NBTTagCompound tags = stack.getTagCompound().getCompoundTag("InfiTool"); if (tags.hasKey("Moss")) {