Skip to content

Conversation

@Machine-Maker
Copy link
Contributor

Previously they were fetched from registry instances which are harder to obtain. Now it just creates them using the static methods available on ResourceKey.

Added an example command that uses the parser in question to show it now works.

Fixes #95

Previously they were fetched from registry instances which are
harder to obtain. Now it just creates them using the static
methods available on ResourceKey.
@Citymonstret Citymonstret requested a review from jpenilla August 18, 2024 07:58
@jpenilla
Copy link
Member

Have you checked that this will still work back to 1.19.3?

@Machine-Maker
Copy link
Contributor Author

Have you checked that this will still work back to 1.19.3?

I looked at the mappings for older versions and the createRegistryKey method has existed for a while, and always been obfuscated to a. Is that what you mean?

Copy link
Member

@jpenilla jpenilla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jpenilla jpenilla merged commit d1a5d25 into Incendo:master Aug 21, 2024
@Machine-Maker Machine-Maker deleted the fix/enchant-parser branch August 26, 2024 03:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bukkit/paper: EnchantmentParser broken in 1.21.1

3 participants