From 4273ad51be2fcf7e10deee02fcb90ec9aea3994e Mon Sep 17 00:00:00 2001 From: Katrina Swales Date: Tue, 5 Aug 2014 16:56:08 +0100 Subject: [PATCH] Update ItemBloodSword.java --- src/main/java/thaumic/tinkerer/common/item/ItemBloodSword.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/thaumic/tinkerer/common/item/ItemBloodSword.java b/src/main/java/thaumic/tinkerer/common/item/ItemBloodSword.java index 80e311f0..6b13b703 100644 --- a/src/main/java/thaumic/tinkerer/common/item/ItemBloodSword.java +++ b/src/main/java/thaumic/tinkerer/common/item/ItemBloodSword.java @@ -138,7 +138,7 @@ public class ItemBloodSword extends ItemSword implements IRepairable, ITTinkerer if (event.entityLiving instanceof EntityPlayer && handle) { EntityPlayer player = (EntityPlayer) event.entityLiving; - ItemStack itemInUse = player.getItemInUse(); + ItemStack itemInUse = player.itemInUse; if (itemInUse != null && itemInUse.getItem() == this) { event.setCanceled(true);