From d59ec9514ff5522b2270e7503f079ff91cb0dffc Mon Sep 17 00:00:00 2001 From: Sollace Date: Fri, 17 Aug 2018 15:09:20 +0200 Subject: [PATCH] Properly detect old human textures --- .../model/armour/DefaultPonyArmorTextureResolver.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/minelittlepony/model/armour/DefaultPonyArmorTextureResolver.java b/src/main/java/com/minelittlepony/model/armour/DefaultPonyArmorTextureResolver.java index d109d805..6a07c433 100644 --- a/src/main/java/com/minelittlepony/model/armour/DefaultPonyArmorTextureResolver.java +++ b/src/main/java/com/minelittlepony/model/armour/DefaultPonyArmorTextureResolver.java @@ -42,9 +42,10 @@ public class DefaultPonyArmorTextureResolver impleme ResourceLocation human = getArmorTexture(entity, itemstack, ponyRes, slot, type); ResourceLocation pony = ponifyResource(human); - ResourceLocation oldPony = ponifyResource(getArmorTexture(entity, itemstack, oldPonyRes, slot, type)); + ResourceLocation oldHuman = getArmorTexture(entity, itemstack, oldPonyRes, slot, type); + ResourceLocation oldPony = ponifyResource(oldHuman); - return resolve(pony, oldPony, human); + return resolve(pony, oldPony, oldHuman, human); } private ResourceLocation resolve(ResourceLocation... resources) {