mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-21 20:18:01 +01:00
This should allow for unemployed villagers to use biome specific skins.
Allows biome specific skins for unemployed villagers.
This commit is contained in:
parent
14c34a4f22
commit
af802e8e69
2 changed files with 1 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -13,3 +13,4 @@ logs/
|
|||
*.iml
|
||||
classes/
|
||||
out/
|
||||
.vscode/launch.json
|
||||
|
|
|
@ -59,9 +59,6 @@ public class PonyTextures<T extends LivingEntity & VillagerDataContainer> implem
|
|||
|
||||
private Identifier getTexture(final VillagerType type, final VillagerProfession profession) {
|
||||
|
||||
if (profession == VillagerProfession.NONE) {
|
||||
return fallback;
|
||||
}
|
||||
|
||||
String key = ResourceUtil.format("pony/%s/%s", type, profession);
|
||||
|
||||
|
|
Loading…
Reference in a new issue