-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
Linux, Mac OS
-
git-Spigot-0b44fa0-9646d8d
-
Yes
I have some serialized items packaged with my plugin in .yml files. They have a damage specified as well as meta for display name and lore.
The damage value does not get read when deserializing in 1.13, causing the item to come back undamaged.
The attached nomigrate.yml file demonstrates the problem if the it is loaded into a ConfigurationSection and getItemStack("item") is used to retrieve the serialized item.
The fixed.yml file shows a fixed version where I manually added a Damage tag in the meta section. This one works correctly.