mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2025-02-13 08:14:23 +01:00
Fix #208
This commit is contained in:
parent
724bddf663
commit
59b2d9591e
1 changed files with 3 additions and 0 deletions
|
@ -60,6 +60,9 @@ abstract class AbstractNpcRenderer<T extends MobEntity & VillagerDataContainer>
|
|||
}
|
||||
|
||||
private ModelWrapper<T, ClientPonyModel<T>> createModel(Race race) {
|
||||
if (race.isHuman()) {
|
||||
race = Race.EARTH;
|
||||
}
|
||||
return ModelWrapper.<T, ClientPonyModel<T>>of(ModelType.getPlayerModel(race).getKey(false), this::initializeModel);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue