You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ItsDoot
changed the title
ItemStack -> ItemStackSnapshot -> ItemStack fails to transfer item data
ItemStack -> ItemStackSnapshot -> ItemStack is lossy
Mar 3, 2021
So it seems like the conversion itself transfers values fine, but when we call player.equip(EquipmentTypes.HEAD, itemB), the data is not serialized correctly, as the client doesn't see the enchantments on the item, nor that the item is unbreakable.
ItsDoot
changed the title
ItemStack -> ItemStackSnapshot -> ItemStack is lossy
ItemStack serialization is lossy
Mar 3, 2021
In the following snippet,
myItemB
does not have the unbreakable tag, nor any enchantments.The text was updated successfully, but these errors were encountered: