Fixed falling bug and Nerfed air orb speed
This commit is contained in:
parent
3852d0e9c2
commit
c8c62f58e2
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ public class ItemOrbAir extends Item {
|
||||||
if (entityPlayer.onGround)
|
if (entityPlayer.onGround)
|
||||||
entityPlayer.addVelocity(0, 2.5, 0);
|
entityPlayer.addVelocity(0, 2.5, 0);
|
||||||
else
|
else
|
||||||
entityPlayer.addVelocity(entityPlayer.motionX * (double)2 * 0.6000000238418579D / (double)f3, 0.5, entityPlayer.motionZ * (double)2 * 0.6000000238418579D / (double)f3);
|
entityPlayer.addVelocity(entityPlayer.motionX + 0.25, 0, entityPlayer.motionZ + 0.25);
|
||||||
|
|
||||||
if (!world.isRemote)
|
if (!world.isRemote)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue