mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2025-02-13 16:24:23 +01:00
Fixed helmets rendering at the wrong scale (whooops)
This commit is contained in:
parent
9e40c6313d
commit
455c316c3a
1 changed files with 1 additions and 4 deletions
|
@ -892,7 +892,7 @@ public abstract class AbstractPonyModel<T extends LivingEntity> extends ClientPo
|
|||
popMatrix();
|
||||
|
||||
pushMatrix();
|
||||
transform(BodyPart.BODY);
|
||||
transform(BodyPart.HEAD);
|
||||
renderHelmet(scale);
|
||||
popMatrix();
|
||||
|
||||
|
@ -914,12 +914,9 @@ public abstract class AbstractPonyModel<T extends LivingEntity> extends ClientPo
|
|||
*/
|
||||
protected void renderHead(T entity, float move, float swing, float ticks, float headYaw, float headPitch, float scale) {
|
||||
head.render(scale);
|
||||
|
||||
headwear.render(scale);
|
||||
}
|
||||
|
||||
protected void renderHelmet(float scale) {
|
||||
head.applyTransform(scale);
|
||||
headwear.render(scale);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue