Skip to content

some usermap bug fixes 4 u - #5462

Merged
mdcfe merged 5 commits into
2.xfrom
fix/usermap-cache-woahs
Aug 5, 2023
Merged

some usermap bug fixes 4 u#5462
mdcfe merged 5 commits into
2.xfrom
fix/usermap-cache-woahs

Conversation

@JRoy

@JRoyJRoy commented Aug 1, 2023

Copy link
Copy Markdown
Member

read the patch notes and code comments

rebase and merge

Closes#5455

@JRoyJRoy added type: bugfix PRs that fix bugs in EssentialsX. module: main Issues or PRs for the main Essentials module labels Aug 1, 2023
@JRoyJRoy added this to the 2.20.1 milestone Aug 1, 2023
JRoy added 5 commits August 5, 2023 11:45
This exact code exists in ModernUserMap#getUser(String)
The usermap will already do this on its own,
and we should really avoid doing this outside
the usermap to avoid unforeseen behavior changes.
In theory this should never be an issue but
somehow is?
This can lead to the potential that a UUID can
be mapped to the improper name. This logic should
be handled the join logic.
Allows to view the number of known UUIDs as
well as name to UUID pairs.
@JRoy
JRoyforce-pushed the fix/usermap-cache-woahs branch from f280a37 to 57253b9CompareAugust 5, 2023 15:45
@mdcfe
mdcfe merged commit b781c1e into 2.xAug 5, 2023
@mdcfe
mdcfe deleted the fix/usermap-cache-woahs branch August 5, 2023 15:48
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: mainIssues or PRs for the main Essentials moduletype: bugfixPRs that fix bugs in EssentialsX.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Running commands using usernames of players offline since upgrading to 1.20+ cannot find player data

2 participants

@JRoy@mdcfe