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
src/main/java/WayofTime/bloodmagic/item/sigil
|
@ -33,7 +33,8 @@ public class ItemSigilTeleposition extends ItemSigilBase
|
|||
{
|
||||
super.addInformation(stack, player, tooltip, advanced);
|
||||
|
||||
stack = NBTHelper.checkNBT(stack);
|
||||
if (!stack.hasTagCompound())
|
||||
return;
|
||||
NBTTagCompound tag = stack.getTagCompound();
|
||||
|
||||
if (tag != null && stack.getTagCompound().hasKey(Constants.NBT.DIMENSION_ID) && stack.getTagCompound().hasKey(Constants.NBT.X_COORD) && stack.getTagCompound().hasKey(Constants.NBT.Y_COORD) && stack.getTagCompound().hasKey(Constants.NBT.Z_COORD))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue