mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2025-02-13 08:14:23 +01:00
Fixed various parts appearing/not appearing for the correct profession
This commit is contained in:
parent
7f6222d0d6
commit
ec2ae1b549
1 changed files with 6 additions and 3 deletions
|
@ -40,9 +40,9 @@ public class ModelVillagerPony<T extends LivingEntity & VillagerDataContainer> 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<T extends LivingEntity & VillagerDataContainer> 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) {
|
||||
|
|
Loading…
Reference in a new issue