Undo player capabilities isFlying check for flight

This commit is contained in:
Matthew Messinger 2015-08-02 01:19:50 -04:00
parent 09217d136b
commit 929bc78b32
2 changed files with 3 additions and 3 deletions

View file

@ -67,8 +67,8 @@ public abstract class RenderPony extends RendererLivingEntity implements IRender
}
this.playerModel.armor.modelArmorChestplate.issneak = this.playerModel.armor.modelArmor.issneak = this.playerModel.model.issneak = player.isSneaking();
this.playerModel.armor.modelArmorChestplate.isFlying = this.playerModel.armor.modelArmor.isFlying = this.playerModel.model.isFlying = thePony.isFlying = player.capabilities.isFlying
|| thePony.isPegasusFlying(player.posX, player.posY, player.posZ, player.fallDistance,
this.playerModel.armor.modelArmorChestplate.isFlying = this.playerModel.armor.modelArmor.isFlying = this.playerModel.model.isFlying = thePony.isFlying = thePony
.isPegasusFlying(player.posX, player.posY, player.posZ, player.fallDistance,
MineLPPrivateFields.isJumping.get(player).booleanValue(), player.onGround, this.renderManager.worldObj);
this.playerModel.armor.modelArmorChestplate.isPegasus = this.playerModel.armor.modelArmor.isPegasus = this.playerModel.model.isPegasus = thePony
.isPegasus();

View file

@ -2,7 +2,7 @@
"name": "minelp",
"mcversion": "1.8",
"version": "1.8-UNOFFICIAL",
"revision": "185.15",
"revision": "185.16",
"author": "Verdana, Rene_Z, Mumfrey, JoyJoy",
"voxelCommonJarName": "voxelcommon-2.4.0.jar",
"classTransformerClasses": "com.minelittlepony.minelp.transformers.RenderPlayerTransformer",