Body overlay should be rendered before the tail.

This commit is contained in:
Matthew Messinger 2019-06-19 22:19:08 -04:00
parent b4cc5b161d
commit e6ace54fb4

View file

@ -927,14 +927,14 @@ public abstract class AbstractPonyModel<T extends LivingEntity> extends ClientPo
*/
protected void renderBody(T entity, float move, float swing, float ticks, float headYaw, float headPitch, float scale) {
body.render(scale);
if (textureHeight == 64) {
bodyOverlay.render(scale);
}
upperTorso.render(scale);
body.applyTransform(scale);
tail.renderPart(scale, entity.getUuid());
if (textureHeight == 64) {
bodyOverlay.render(scale);
}
}
protected void renderLegs(float scale) {