From a1fa6a2ce8adac81171434f56331465d906c6f9c Mon Sep 17 00:00:00 2001 From: Sollace Date: Sat, 28 Jul 2018 12:55:36 +0200 Subject: [PATCH] Fixed Elytras not appearing in the correct place on skin previews. --- .../java/com/minelittlepony/hdskins/gui/RenderPonyModel.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/minelittlepony/hdskins/gui/RenderPonyModel.java b/src/main/java/com/minelittlepony/hdskins/gui/RenderPonyModel.java index 3b4c1732..e05199b4 100644 --- a/src/main/java/com/minelittlepony/hdskins/gui/RenderPonyModel.java +++ b/src/main/java/com/minelittlepony/hdskins/gui/RenderPonyModel.java @@ -2,6 +2,7 @@ package com.minelittlepony.hdskins.gui; import com.minelittlepony.MineLittlePony; import com.minelittlepony.ducks.IRenderPony; +import com.minelittlepony.model.BodyPart; import com.minelittlepony.model.ModelWrapper; import com.minelittlepony.model.capabilities.IModel; import com.minelittlepony.model.components.PonyElytra; @@ -116,6 +117,7 @@ public class RenderPonyModel extends RenderPlayerModel implemen ModelBase model = renderingAsHuman ? modelElytra : ponyElytra; if (!renderingAsHuman) { + ((IModel)getMainModel()).transform(BodyPart.BODY); GlStateManager.translate(0, ((IModel)getMainModel()).getRiderYOffset(), 0.125F); }