mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-25 22:07:59 +01:00
Fixed humans appearing as ponies
This commit is contained in:
parent
eb54809f1e
commit
a7664bbe71
1 changed files with 4 additions and 2 deletions
|
@ -51,9 +51,11 @@ public class PonyRenderManager {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void registerPlayerSkin(EntityRenderDispatcher manager, PlayerModels playerModel) {
|
private void registerPlayerSkin(EntityRenderDispatcher manager, PlayerModels playerModel) {
|
||||||
|
if (playerModel != PlayerModels.DEFAULT) {
|
||||||
addPlayerSkin(manager, false, playerModel);
|
addPlayerSkin(manager, false, playerModel);
|
||||||
addPlayerSkin(manager, true, playerModel);
|
addPlayerSkin(manager, true, playerModel);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private void addPlayerSkin(EntityRenderDispatcher manager, boolean slimArms, PlayerModels playerModel) {
|
private void addPlayerSkin(EntityRenderDispatcher manager, boolean slimArms, PlayerModels playerModel) {
|
||||||
RenderPonyPlayer renderer = playerModel.createRenderer(manager, slimArms);
|
RenderPonyPlayer renderer = playerModel.createRenderer(manager, slimArms);
|
||||||
|
|
Loading…
Reference in a new issue