mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 16:27:47 +00:00
Provide original armor model in the custom armor model hook.
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user