From af802e8e697296814a71559bb67cd1ceefc4b324 Mon Sep 17 00:00:00 2001 From: AtomicGlow <72039532+AtomicGlow@users.noreply.github.com> Date: Wed, 23 Mar 2022 06:25:12 -0400 Subject: [PATCH] This should allow for unemployed villagers to use biome specific skins. Allows biome specific skins for unemployed villagers. --- .gitignore | 1 + .../minelittlepony/client/render/entity/npc/PonyTextures.java | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index ac2f12d4..7efe0547 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ logs/ *.iml classes/ out/ +.vscode/launch.json diff --git a/src/main/java/com/minelittlepony/client/render/entity/npc/PonyTextures.java b/src/main/java/com/minelittlepony/client/render/entity/npc/PonyTextures.java index 564a6c6d..40f22f1e 100644 --- a/src/main/java/com/minelittlepony/client/render/entity/npc/PonyTextures.java +++ b/src/main/java/com/minelittlepony/client/render/entity/npc/PonyTextures.java @@ -59,9 +59,6 @@ public class PonyTextures 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);