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 missing map initialize event call & missing map id assignment #9756

Merged
merged 1 commit into from
Sep 24, 2023

Conversation

Warriorrrr
Copy link
Member

Fixes maps not having their id field assigned which causes an NPE when a plugin tries to get the id, also fixes the initialize event not being called in this spot.

If it's possible to replace the private -> public with an AT then let me know, wasn't sure how to handle the generic return type

@Warriorrrr Warriorrrr requested a review from a team as a code owner September 24, 2023 16:51
@electronicboy
Copy link
Member

AT would just use the erased type, not sure I care though atm

@electronicboy electronicboy merged commit 5923b7d into PaperMC:master Sep 24, 2023
2 checks passed
@Warriorrrr Warriorrrr deleted the fix/null-map-id branch February 6, 2024 09:42
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.

2 participants