From c42259dc88ce5adc257872ece383ebe128191cea Mon Sep 17 00:00:00 2001 From: allstar69 Date: Sun, 23 Jun 2013 03:04:55 -0700 Subject: [PATCH] Changed air orb back to its original fuctionality --- common/MysticWorld/Items/ItemOrbAir.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/common/MysticWorld/Items/ItemOrbAir.java b/common/MysticWorld/Items/ItemOrbAir.java index 56ab8c5..617076b 100644 --- a/common/MysticWorld/Items/ItemOrbAir.java +++ b/common/MysticWorld/Items/ItemOrbAir.java @@ -21,11 +21,10 @@ public class ItemOrbAir extends Item { 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 (entityPlayer.onGround) entityPlayer.addVelocity(0, 2.5, 0); - else - entityPlayer.addVelocity(entityPlayer.motionX * 1.0, 0, entityPlayer.motionZ * 1.0); if (!world.isRemote) {