Skip to content

Conversation

@zefir-git
Copy link
Member

Ensures you can get a name from a UUID since PlayerProfile#complete() is broken at this time. The UUIDs and names are cached. Also supports resolving UUIDs from names using the same cache.

This cache is only used as a fallback. The server’s cache is always checked first.

The cache is only effective when only it is used for player and name lookups. Custom IntelliJ IDEA inspections will show an error when the cache is bypassed in a harmful way.

@zefir-git zefir-git self-assigned this Jan 1, 2026
@zefir-git zefir-git added the enhancement Improvement of existing feature label Jan 1, 2026
@zefir-git zefir-git merged commit c5ae8a9 into main Jan 1, 2026
2 of 3 checks passed
@zefir-git zefir-git deleted the player-name-resolution branch January 1, 2026 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Improvement of existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants