Removed bad code from Elytra upgrade.
This commit is contained in:
parent
d3379ff69b
commit
bc7760b11b
|
@ -19,10 +19,7 @@ public class LivingArmourUpgradeElytra extends LivingArmourUpgrade
|
||||||
@Override
|
@Override
|
||||||
public void onTick(World world, EntityPlayer player, ILivingArmour livingArmour)
|
public void onTick(World world, EntityPlayer player, ILivingArmour livingArmour)
|
||||||
{
|
{
|
||||||
if (!world.isRemote && player.motionY > -0.5)
|
|
||||||
{
|
|
||||||
player.fallDistance = 1;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue