Fixed wearables not appearing on the skin preview

This commit is contained in:
Sollace 2018-10-19 15:38:54 +02:00
parent 87ca00aff9
commit 047fb49ac1

View file

@ -7,6 +7,7 @@ import com.minelittlepony.model.player.PlayerModels;
import com.minelittlepony.pony.data.IPony;
import com.minelittlepony.pony.data.Pony;
import com.minelittlepony.pony.data.PonyRace;
import com.minelittlepony.render.layer.LayerGear;
import com.minelittlepony.render.layer.LayerPonyElytra;
import com.minelittlepony.render.RenderPony;
import com.mojang.authlib.minecraft.MinecraftProfileTexture.Type;
@ -32,6 +33,7 @@ public class RenderPonyModel extends RenderPlayerModel<EntityPonyModel> implemen
public RenderPonyModel(RenderManager manager) {
super(manager);
addLayer(new LayerGear<>(this));
}
private ModelWrapper playerModel;