Fixed slim arm textures being applied to the thick arm models

This commit is contained in:
Sollace 2023-09-25 01:42:00 +01:00
parent e45c237e82
commit ba0ab4149e
No known key found for this signature in database
GPG key ID: E52FACE7B5C773DB

View file

@ -49,7 +49,7 @@ public class PonyRenderDispatcher {
&& PonyPosture.hasSeaponyForm(player)
&& player.method_52814().model() == armShape;
},
context -> new AquaticPlayerPonyRenderer(context, false)
context -> new AquaticPlayerPonyRenderer(context, armShape == SkinTextures.Model.SLIM)
);
Mson.getInstance().getEntityRendererRegistry().registerPlayerRenderer(
new Identifier("minelittlepony", "land/" + armShape.getName()),
@ -58,7 +58,7 @@ public class PonyRenderDispatcher {
&& !PonyPosture.hasSeaponyForm(player)
&& player.method_52814().model() == armShape;
},
context -> new PlayerPonyRenderer(context, false)
context -> new PlayerPonyRenderer(context, armShape == SkinTextures.Model.SLIM)
);
}