From 3852d0e9c26d30708eb39d6c695bf3804bfcdf0a Mon Sep 17 00:00:00 2001 From: allstar69 Date: Sat, 22 Jun 2013 12:56:19 -0700 Subject: [PATCH] Cleaned up files --- common/MysticWorld/Items/ItemOrbEnergy.java | 12 ------------ common/MysticWorld/Items/ItemOrbWater.java | 12 ------------ 2 files changed, 24 deletions(-) diff --git a/common/MysticWorld/Items/ItemOrbEnergy.java b/common/MysticWorld/Items/ItemOrbEnergy.java index cc23a2e..b272d7b 100644 --- a/common/MysticWorld/Items/ItemOrbEnergy.java +++ b/common/MysticWorld/Items/ItemOrbEnergy.java @@ -16,17 +16,5 @@ public class ItemOrbEnergy 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; - } } diff --git a/common/MysticWorld/Items/ItemOrbWater.java b/common/MysticWorld/Items/ItemOrbWater.java index bed6dc3..8a86d63 100644 --- a/common/MysticWorld/Items/ItemOrbWater.java +++ b/common/MysticWorld/Items/ItemOrbWater.java @@ -16,17 +16,5 @@ public class ItemOrbWater 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; - } }