From 208c782a2bb4c0b5c93ec2a4ddb224a55fd57e7c Mon Sep 17 00:00:00 2001 From: Jeremy Diamond Date: Wed, 5 Mar 2014 20:34:14 -0800 Subject: [PATCH] Minor pointless tweak --- src/com/spiteful/forbidden/items/ItemBloodwell.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/spiteful/forbidden/items/ItemBloodwell.java b/src/com/spiteful/forbidden/items/ItemBloodwell.java index e366230..2b00ede 100644 --- a/src/com/spiteful/forbidden/items/ItemBloodwell.java +++ b/src/com/spiteful/forbidden/items/ItemBloodwell.java @@ -69,7 +69,7 @@ public class ItemBloodwell extends Item implements IScribeTools { */ public void onUpdate(ItemStack stack, World world, Entity fauxplayer, int par4, boolean par5) { - if(stack.getItemDamage() > 0 && stack.hasTagCompound()) + if(Compat.bm && stack.getItemDamage() > 0 && stack.hasTagCompound()) { EntityPlayer player = null; if(fauxplayer instanceof EntityPlayer) @@ -79,7 +79,7 @@ public class ItemBloodwell extends Item implements IScribeTools { try { - if(player instanceof EntityPlayer && ((EntityPlayer)player).capabilities.isCreativeMode) + if(player.capabilities.isCreativeMode) stack.setItemDamage(0); else if(((Boolean)(syphon.invoke(null, stack, 25))).booleanValue()) stack.setItemDamage(stack.getItemDamage() - 1);