mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2025-02-13 16:24:23 +01:00
Change villager clothes to use the same attributes as the base entity. Fixes #187
This commit is contained in:
parent
1e9657b608
commit
e697d82011
1 changed files with 0 additions and 2 deletions
|
@ -86,7 +86,6 @@ class NpcClothingFeature<
|
|||
|
||||
Identifier typeSkin = findTexture("type", Registry.VILLAGER_TYPE.getId(type));
|
||||
|
||||
getContext().getInternalRenderer().updateMetadata(typeSkin);
|
||||
renderModel(entityModel, typeSkin, matrixStack, provider, i, entity, 1, 1, 1);
|
||||
|
||||
entityModel.setHatVisible(true);
|
||||
|
@ -94,7 +93,6 @@ class NpcClothingFeature<
|
|||
if (profession != VillagerProfession.NONE && !entity.isBaby()) {
|
||||
Identifier professionSkin = findTexture("profession", Registry.VILLAGER_PROFESSION.getId(profession));
|
||||
|
||||
getContext().getInternalRenderer().updateMetadata(professionSkin);
|
||||
renderModel(entityModel, professionSkin, matrixStack, provider, i, entity, 1, 1, 1);
|
||||
|
||||
if (profession != VillagerProfession.NITWIT) {
|
||||
|
|
Loading…
Reference in a new issue