mirror of
https://github.com/GTNewHorizons/ForbiddenMagic.git
synced 2026-11-14 01:04:07 +00:00
Minor pointless tweak
This commit is contained in:
1 parent
60dab0ea54
commit
208c782a2b
1 file changed
+2
-2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user