mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-12-02 00:37:59 +01:00
Fixed Elytras not appearing in the correct place on skin previews.
This commit is contained in:
parent
4e77f96fa5
commit
a4e329d7fa
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
@ -115,6 +116,7 @@ public class RenderPonyModel extends RenderPlayerModel<EntityPonyModel> implemen
|
|||
ModelBase model = renderingAsHuman ? modelElytra : ponyElytra;
|
||||
|
||||
if (!renderingAsHuman) {
|
||||
((IModel)getMainModel()).transform(BodyPart.BODY);
|
||||
GlStateManager.translate(0, ((IModel)getMainModel()).getRiderYOffset(), 0.125F);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue