Skip to content

Handle null ServerLevel in fromGlobalPos#13703

Open
NonSwag wants to merge 1 commit intoPaperMC:mainfrom
NonSwag:fix/last-death-location
Open

Handle null ServerLevel in fromGlobalPos#13703
NonSwag wants to merge 1 commit intoPaperMC:mainfrom
NonSwag:fix/last-death-location

Conversation

@NonSwag
Copy link
Contributor

@NonSwag NonSwag commented Mar 14, 2026

getLevel returns nullable but toBukkit doesnt allow for null values causing an NPE
All four uses of this method are in Optionals so it is safe to return null

@NonSwag NonSwag requested a review from a team as a code owner March 14, 2026 16:57
@github-project-automation github-project-automation bot moved this to Awaiting review in Paper PR Queue Mar 14, 2026
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.

2 participants