Skip to content

Fix tag key generator output inconsistencies#11218

Merged
Machine-Maker merged 2 commits into
PaperMC:masterfrom
Lulu13022002:fix/tag-key-generator
Aug 10, 2024
Merged

Fix tag key generator output inconsistencies#11218
Machine-Maker merged 2 commits into
PaperMC:masterfrom
Lulu13022002:fix/tag-key-generator

Conversation

@Lulu13022002
Copy link
Copy Markdown
Contributor

The current tag key generator has an arbitrary order of the fields so the output is different each time the generator is ran.
This pr sort the fields alphabetically like the typed key.
Also fixed two typo in the generated tag key create javadoc and for enchantment registry builder when the argument is wrongly null (previously it would say "argument null cannot be null").

@Lulu13022002 Lulu13022002 requested a review from a team as a code owner August 7, 2024 12:01
@Lulu13022002 Lulu13022002 force-pushed the fix/tag-key-generator branch from ea5d5aa to b577dcb Compare August 10, 2024 17:41
@Machine-Maker Machine-Maker merged commit 1cecc24 into PaperMC:master Aug 10, 2024
@Lulu13022002 Lulu13022002 deleted the fix/tag-key-generator branch December 23, 2024 17:41
LeonTG pushed a commit to LeonTG/Paper that referenced this pull request May 17, 2026
* Fix tag key generator output inconsistencies

* use NonNull instead of NotNull for generated api

---------

Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Merged

Development

Successfully merging this pull request may close these issues.

3 participants