From 778fff586a9a41f3d08a5bff7ff8c2824ea7c9c6 Mon Sep 17 00:00:00 2001 From: allstar69 Date: Sat, 22 Jun 2013 09:56:00 -0700 Subject: [PATCH] Cleaned up orb files --- common/MysticWorld/Items/ItemOrbEarth.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/common/MysticWorld/Items/ItemOrbEarth.java b/common/MysticWorld/Items/ItemOrbEarth.java index 33b13d0..f0c8527 100644 --- a/common/MysticWorld/Items/ItemOrbEarth.java +++ b/common/MysticWorld/Items/ItemOrbEarth.java @@ -16,17 +16,5 @@ public class ItemOrbEarth extends Item { this.setMaxDamage(64); this.setCreativeTab(MysticWorld.MysticWorldTab); } - - public ItemStack onItemRightClick(ItemStack itemStack, World world, EntityPlayer entityPlayer) - { - world.playSoundEffect(entityPlayer.posX, entityPlayer.posY, entityPlayer.posZ, "fire.ignite", 1.0F, itemRand.nextFloat() * 0.4F + 0.8F); - - if (!world.isRemote) - { - itemStack.damageItem(1, entityPlayer); - } - - return itemStack; - } }