From ec2ae1b549bbd69fedd44af0ff8b8f08cb1f6c88 Mon Sep 17 00:00:00 2001 From: Sollace Date: Sat, 29 Jun 2019 23:44:43 +0200 Subject: [PATCH] Fixed various parts appearing/not appearing for the correct profession --- .../client/model/entities/ModelVillagerPony.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/minelittlepony/client/model/entities/ModelVillagerPony.java b/src/main/java/com/minelittlepony/client/model/entities/ModelVillagerPony.java index d7c38e20..a4084641 100644 --- a/src/main/java/com/minelittlepony/client/model/entities/ModelVillagerPony.java +++ b/src/main/java/com/minelittlepony/client/model/entities/ModelVillagerPony.java @@ -40,9 +40,9 @@ public class ModelVillagerPony e if (!special && profession != VillagerProfession.NONE && profession != VillagerProfession.NITWIT) { if (profession == VillagerProfession.BUTCHER) { - trinket.render(scale); - } else { apron.render(scale); + } else { + trinket.render(scale); } } } @@ -50,7 +50,10 @@ public class ModelVillagerPony e @Override public boolean isWearing(Wearable wearable) { if (wearable == Wearable.SADDLE_BAGS) { - return !special && profession != VillagerProfession.NONE && profession == VillagerProfession.NITWIT; + return !special && profession != VillagerProfession.NONE && ( + profession == VillagerProfession.FARMER + || profession == VillagerProfession.FISHERMAN + || profession == VillagerProfession.SHEPHERD); } if (wearable == Wearable.MUFFIN) {