Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix NPE with enchantable #11557

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Lulu13022002
Copy link
Contributor

@Lulu13022002 Lulu13022002 commented Nov 1, 2024

ItemMeta#setEnchantable is nullable but yet passing null result in an NPE on Paper.

Also fixes a bunch of leftover during the update:
migrate the generated content to jspecify, make EnchantmentKeys#create public
undeprecate some fields on Registry
register instrument registry as data driven registry

@Lulu13022002 Lulu13022002 requested a review from a team as a code owner November 1, 2024 17:31
@Lulu13022002 Lulu13022002 force-pushed the fix/enchantable-misc branch 2 times, most recently from 18bf6c2 to 9252980 Compare November 1, 2024 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Awaiting review
Development

Successfully merging this pull request may close these issues.

1 participant