mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-22 04:27:59 +01:00
Undo player capabilities isFlying check for flight
This commit is contained in:
parent
09217d136b
commit
929bc78b32
2 changed files with 3 additions and 3 deletions
|
@ -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();
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue