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:
parent
137975331c
commit
09b331fdbe
31 changed files with 66 additions and 61 deletions
|
@ -108,7 +108,8 @@ public class ItemSanguineBook extends Item implements IVariantProvider, IAltarMa
|
|||
@SideOnly(Side.CLIENT)
|
||||
public void addInformation(ItemStack stack, EntityPlayer playerIn, List<String> tooltip, boolean advanced)
|
||||
{
|
||||
stack = NBTHelper.checkNBT(stack);
|
||||
if (!stack.hasTagCompound())
|
||||
return;
|
||||
tooltip.add(TextHelper.localizeEffect("tooltip.BloodMagic.book.shifting"));
|
||||
tooltip.add(TextFormatting.OBFUSCATED + "~ILikeTehNutsAndICannotLie");
|
||||
tooltip.add(TextHelper.localizeEffect("tooltip.BloodMagic.currentTier", stack.getTagCompound().getInteger(Constants.NBT.ALTARMAKER_CURRENT_TIER) + 1));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue