-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
openjdk version "21.0.3" 2024-04-16 LTS
OpenJDK Runtime Environment Temurin-21.0.3+9 (build 21.0.3+9-LTS)
OpenJDK 64-Bit Server VM Temurin-21.0.3+9 (build 21.0.3+9-LTS, mixed mode, sharing)Ubuntu 22.04.3 LTS
-
CraftBukkit version 4273-Spigot-34bd42b-2c54749 (MC: 1.21) (Implementing API version 1.21-R0.1-SNAPSHOT)
-
SerializationTest
-
Yes
Serializing an item using BukkitObjectOutputStream with the "can_always_eat" tag will trigger a NullPointerException. I am assuming other similar tags may cause the same issue.
I provided a test plugin: simply run /serializationtest when holding an item with this tag in your hand. A plugin like ItemEdit can be used to apply this tag to the item quickly
Thank you for your time ^^