Fix client having NBT that the server doesn't

This was reported months ago but I forgot because it was in the WRONG PLACE.
This commit is contained in:
Nicholas Ignoffo 2016-09-06 18:55:32 -07:00
parent 137975331c
commit 09b331fdbe
31 changed files with 66 additions and 61 deletions

View file

@ -52,6 +52,8 @@ public class ItemUpgradeTrainer extends Item implements IUpgradeTrainer, IVarian
public void addInformation(ItemStack stack, EntityPlayer player, List<String> tooltip, boolean advanced)
{
// tooltip.addAll(Arrays.asList(TextHelper.cutLongString(TextHelper.localizeEffect("tooltip.BloodMagic.livingArmour"))));
if (!stack.hasTagCompound())
return;
LivingArmourUpgrade upgrade = LivingUpgrades.getUpgrade(stack);
if (upgrade != null)
{