mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-29 23:48:00 +01:00
Properly detect old human textures
This commit is contained in:
parent
ada764f946
commit
d59ec9514f
1 changed files with 3 additions and 2 deletions
|
@ -42,9 +42,10 @@ public class DefaultPonyArmorTextureResolver<T extends EntityLivingBase> 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) {
|
||||
|
|
Loading…
Reference in a new issue