Skip to content

Do not NPE on uuid resolution in player profile#11449

Merged
lynxplay merged 1 commit into
masterfrom
bugfix/npe-in-profile-resolution
Sep 29, 2024
Merged

Do not NPE on uuid resolution in player profile#11449
lynxplay merged 1 commit into
masterfrom
bugfix/npe-in-profile-resolution

Conversation

@lynxplay
Copy link
Copy Markdown
Contributor

Band-aid fix for the player profile api resolution for a profile with
name but without uuid. The real solution is a proper refactoring of the
completeFromCache and complete method internally, however this needs
further consideration regarding existing faulty behaviour around name
lookups from uuid-only profiles.

Resolves: #11447

Band-aid fix for the player profile api resolution for a profile with
name but without uuid. The real solution is a proper refactoring of the
completeFromCache and complete method internally, however this needs
further consideration regarding existing faulty behaviour around name
lookups from uuid-only profiles.
@lynxplay lynxplay requested a review from a team as a code owner September 29, 2024 22:09
@lynxplay lynxplay merged commit ea00be3 into master Sep 29, 2024
@lynxplay lynxplay deleted the bugfix/npe-in-profile-resolution branch September 29, 2024 22:26
LeonTG pushed a commit to LeonTG/Paper that referenced this pull request May 17, 2026
Band-aid fix for the player profile api resolution for a profile with
name but without uuid. The real solution is a proper refactoring of the
completeFromCache and complete method internally, however this needs
further consideration regarding existing faulty behaviour around name
lookups from uuid-only profiles.
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.

Cannot complete PlayerProfiles: NullPointerException

2 participants