Sponge
Sponge copied to clipboard
The item serializer cannot load enchantments by default.
Affected Product(s)
SpongeVanilla
Version
SpongeVanilla: 1.19.4-10.0.0-RC1397
Operating System
OS: Linux/5.16.15-arch1-1 (amd64)
Java Version
JVM: 17.0.8.1/64-bit
Plugins/Mods
My test plugins.
Describe the bug
You need to create an item and add enchantments to it. Then write it to the config that has default serializers assigned to it. After that you need to load the item from the config and try to get enchantments from it. The enchantments list will be empty.
The first screenshot shows a test of loading item data using the default serializer.
The second screenshot shows the output of the item data using my serializer. There was no change in the amount of data added to the item.
Link to logs
No response