mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-26 14:27:59 +01:00
Fixed armour leg placement when riding
This commit is contained in:
parent
dca3cad2cd
commit
240345f29a
2 changed files with 3 additions and 4 deletions
|
@ -864,6 +864,7 @@ public abstract class AbstractPonyModel extends ModelPlayer implements IModel, P
|
|||
isElytraFlying = pony.isElytraFlying;
|
||||
isSwimming = pony.isSwimming;
|
||||
isSleeping = pony.isSleeping;
|
||||
headGear = pony.headGear;
|
||||
metadata = pony.metadata;
|
||||
motionPitch = pony.motionPitch;
|
||||
rainboom = pony.rainboom;
|
||||
|
|
|
@ -32,11 +32,8 @@ public class ModelPonyArmor extends AbstractPonyModel implements IModelArmor {
|
|||
}
|
||||
|
||||
@Override
|
||||
protected void renderLegs(float scale) {
|
||||
super.renderLegs(scale);
|
||||
}
|
||||
|
||||
public <T extends ModelBiped & IModel> void synchroniseLegs(T mainModel) {
|
||||
copyModelAngles(mainModel.bipedBody, bipedBody);
|
||||
copyModelAngles(mainModel.bipedRightArm, bipedRightArm);
|
||||
copyModelAngles(mainModel.bipedLeftArm, bipedLeftArm);
|
||||
copyModelAngles(mainModel.bipedRightLeg, bipedRightLeg);
|
||||
|
@ -72,6 +69,7 @@ public class ModelPonyArmor extends AbstractPonyModel implements IModelArmor {
|
|||
@Override
|
||||
public void setInVisible() {
|
||||
setVisible(false);
|
||||
bipedBody.showModel = true;
|
||||
chestPiece.showModel = false;
|
||||
bipedHead.showModel = false;
|
||||
neck.showModel = false;
|
||||
|
|
Loading…
Reference in a new issue