mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-26 22:38:00 +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;
|
isElytraFlying = pony.isElytraFlying;
|
||||||
isSwimming = pony.isSwimming;
|
isSwimming = pony.isSwimming;
|
||||||
isSleeping = pony.isSleeping;
|
isSleeping = pony.isSleeping;
|
||||||
|
headGear = pony.headGear;
|
||||||
metadata = pony.metadata;
|
metadata = pony.metadata;
|
||||||
motionPitch = pony.motionPitch;
|
motionPitch = pony.motionPitch;
|
||||||
rainboom = pony.rainboom;
|
rainboom = pony.rainboom;
|
||||||
|
|
|
@ -32,11 +32,8 @@ public class ModelPonyArmor extends AbstractPonyModel implements IModelArmor {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void renderLegs(float scale) {
|
|
||||||
super.renderLegs(scale);
|
|
||||||
}
|
|
||||||
|
|
||||||
public <T extends ModelBiped & IModel> void synchroniseLegs(T mainModel) {
|
public <T extends ModelBiped & IModel> void synchroniseLegs(T mainModel) {
|
||||||
|
copyModelAngles(mainModel.bipedBody, bipedBody);
|
||||||
copyModelAngles(mainModel.bipedRightArm, bipedRightArm);
|
copyModelAngles(mainModel.bipedRightArm, bipedRightArm);
|
||||||
copyModelAngles(mainModel.bipedLeftArm, bipedLeftArm);
|
copyModelAngles(mainModel.bipedLeftArm, bipedLeftArm);
|
||||||
copyModelAngles(mainModel.bipedRightLeg, bipedRightLeg);
|
copyModelAngles(mainModel.bipedRightLeg, bipedRightLeg);
|
||||||
|
@ -72,6 +69,7 @@ public class ModelPonyArmor extends AbstractPonyModel implements IModelArmor {
|
||||||
@Override
|
@Override
|
||||||
public void setInVisible() {
|
public void setInVisible() {
|
||||||
setVisible(false);
|
setVisible(false);
|
||||||
|
bipedBody.showModel = true;
|
||||||
chestPiece.showModel = false;
|
chestPiece.showModel = false;
|
||||||
bipedHead.showModel = false;
|
bipedHead.showModel = false;
|
||||||
neck.showModel = false;
|
neck.showModel = false;
|
||||||
|
|
Loading…
Reference in a new issue