mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-25 13:57:59 +01:00
Merge pull request #196 from AtomicGlow/1.18
This should allow for unemployed villagers to use biome specific skins. Closes #194
This commit is contained in:
commit
9546d58da9
2 changed files with 1 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -13,3 +13,4 @@ logs/
|
||||||
*.iml
|
*.iml
|
||||||
classes/
|
classes/
|
||||||
out/
|
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) {
|
private Identifier getTexture(final VillagerType type, final VillagerProfession profession) {
|
||||||
|
|
||||||
if (profession == VillagerProfession.NONE) {
|
|
||||||
return fallback;
|
|
||||||
}
|
|
||||||
|
|
||||||
String key = ResourceUtil.format("pony/%s/%s", type, profession);
|
String key = ResourceUtil.format("pony/%s/%s", type, profession);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue