Provide original armor model in the custom armor model hook.

This commit is contained in:
RainWarrior committed 2016-01-28 07:43:55 +03:00
1 parent be6c2bd588
commit 7b7d18f676
2 files changed
+18 -7

No files matched your search

@@ -164,7 +164,7 @@ public class ForgeHooksClient
public static ModelBiped getArmorModel(EntityLivingBase entityLiving, ItemStack itemStack, int slotID, ModelBiped _default)
{
ModelBiped model = itemStack.getItem().getArmorModel(entityLiving, itemStack, slotID);
ModelBiped model = itemStack.getItem().getArmorModel(entityLiving, itemStack, slotID, _default);
return model == null ? _default : model;
}