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
|
@ -47,6 +47,8 @@ public class ItemCuttingFluid extends Item implements IVariantProvider, ICustomA
|
|||
@SideOnly(Side.CLIENT)
|
||||
public void addInformation(ItemStack stack, EntityPlayer player, List<String> tooltip, boolean advanced)
|
||||
{
|
||||
if (!stack.hasTagCompound())
|
||||
return;
|
||||
int max = getMaxUsesForFluid(stack);
|
||||
tooltip.add(TextHelper.localize("tooltip.BloodMagic.cuttingFluidRatio", max - getDamageOfFluid(stack), max));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue