-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Minor
-
None
-
Affects Version/s: None
-
None
-
This server is running CraftBukkit version 4573-Spigot-66411b9-d7d8774 (MC: 1.21.11) (Implementing API version 1.21.11-R0.1-SNAPSHOT)
-
Yes
CraftMetaItem#getHandledTags (https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/browse/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaItem.java#2706) does not include CraftMetaPotion.POTION_DURATION_SCALE , resulting in additional "unhandled" data when potionMeta.setDurationScale(1.5f) is used, breaking item comparison after config serialization + deserialization.
POTION_META:{meta-type=POTION, unhandled=H4sIAAAAAAAA/+NiYGBlkM/NzEtNLkpMK7EqyC/JzM+LTyktSgQzipMTc1LtDzAwMAAAkLcSmioAAAA=, potion-type=minecraft:healing, custom-color=Color:[argb0xFFFF0000], custom-name=MyPotion, custom-effects=[BLINDNESS:(2t-x1)], potion-duration-scale=1.5}}