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:
­Sollace 2022-03-28 12:45:07 +02:00 committed by GitHub
commit 9546d58da9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

1
.gitignore vendored
View file

@ -13,3 +13,4 @@ logs/
*.iml *.iml
classes/ classes/
out/ out/
.vscode/launch.json

View file

@ -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);