Fix placeable/destory keys deserialization from spigot#6706
Fix placeable/destory keys deserialization from spigot#6706Machine-Maker wants to merge 1 commit into
Conversation
|
Somethings else to consider regarding the representation of those tags in Bukkit: Minecraft stores these tags in a list (duplicates are not filtered, order is preserved), whereas this CraftMetaItem implementation seems to put them into an unordered HashSet. So a back and forth conversion from Minecraft -> Bukkit -> Minecraft might result in those tags being reordered, potentially affecting the comparisons of Minecraft items. Maybe it makes sense to store these tags in a List in Bukkit as well. Or at least store them in a LinkedHashSet. Or enforce a particular order, similar to how enchantments are reordered in Paper. |
7656c95 to
3018cf5
Compare
Yeah, I just handled that by changing the fields on CraftMetaItem to lists, but the API still returns a set. |
3018cf5 to
3048c34
Compare
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
3048c34 to
671e394
Compare
|
Rebased for 1.18.1 |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
671e394 to
6216b78
Compare
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
6216b78 to
59609a5
Compare
|
Rebased for 1.18.2 |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
|
This issue has been automatically closed because it has not had activity in a long time. If the issue still applies to the most recent supported version, please open a new issue referencing this original issue. |
|
Not applicable anymore |
Fixes #6689