(Possibly) further helped eliminate the memory leak issue.

This commit is contained in:
WayofTime 2016-06-26 10:09:18 -04:00
parent c69b6bbade
commit adc100ee17
2 changed files with 10 additions and 0 deletions

View file

@ -67,6 +67,15 @@ public class ItemLivingArmour extends ItemArmor implements ISpecialArmor, IMeshP
setCreativeTab(BloodMagic.tabBloodMagic);
}
@Override
public void onCreated(ItemStack stack, World world, EntityPlayer player)
{
if (stack != null && !world.isRemote && stack.getItem() == ModItems.livingArmourChest)
{
Utils.setUUID(stack);
}
}
@Override
public String getArmorTexture(ItemStack stack, Entity entity, EntityEquipmentSlot slot, String type)
{