mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2025-04-01 01:05:27 +02: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.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
|
this.playerModel.armor.modelArmorChestplate.isFlying = this.playerModel.armor.modelArmor.isFlying = this.playerModel.model.isFlying = thePony.isFlying = thePony
|
||||||
|| thePony.isPegasusFlying(player.posX, player.posY, player.posZ, player.fallDistance,
|
.isPegasusFlying(player.posX, player.posY, player.posZ, player.fallDistance,
|
||||||
MineLPPrivateFields.isJumping.get(player).booleanValue(), player.onGround, this.renderManager.worldObj);
|
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
|
this.playerModel.armor.modelArmorChestplate.isPegasus = this.playerModel.armor.modelArmor.isPegasus = this.playerModel.model.isPegasus = thePony
|
||||||
.isPegasus();
|
.isPegasus();
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"name": "minelp",
|
"name": "minelp",
|
||||||
"mcversion": "1.8",
|
"mcversion": "1.8",
|
||||||
"version": "1.8-UNOFFICIAL",
|
"version": "1.8-UNOFFICIAL",
|
||||||
"revision": "185.15",
|
"revision": "185.16",
|
||||||
"author": "Verdana, Rene_Z, Mumfrey, JoyJoy",
|
"author": "Verdana, Rene_Z, Mumfrey, JoyJoy",
|
||||||
"voxelCommonJarName": "voxelcommon-2.4.0.jar",
|
"voxelCommonJarName": "voxelcommon-2.4.0.jar",
|
||||||
"classTransformerClasses": "com.minelittlepony.minelp.transformers.RenderPlayerTransformer",
|
"classTransformerClasses": "com.minelittlepony.minelp.transformers.RenderPlayerTransformer",
|
||||||
|
|
Loading…
Add table
Reference in a new issue