Changed air orb back to its original fuctionality
This commit is contained in:
parent
09afbfa78a
commit
c42259dc88
1 changed files with 2 additions and 3 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue