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

Normalize legacy text before deserializing #5710

Closed
wants to merge 4 commits into from

Conversation

pop4959
Copy link
Member

@pop4959 pop4959 commented Feb 26, 2024

Looks like Adventure's legacy deserializer does not like it when color codes are capitalized. Unfortunately this is quite common, and exposed to users (e.g. nicknames). Normalize this.

Ideally fixed in the serializer, but this should work fine as a hotfix.

Fixes #5708, #5709.

@pop4959 pop4959 added type: bugfix PRs that fix bugs in EssentialsX. module: main Issues or PRs for the main Essentials module misc: adventure Issues and PRs related to the Adventure refactor. Temporary label during 2.21.x cycle. labels Feb 26, 2024
@pop4959
Copy link
Member Author

pop4959 commented Feb 26, 2024

I have no clue how the economy test is failing since it has literally nothing to do with this change.

@pop4959
Copy link
Member Author

pop4959 commented Feb 26, 2024

Never mind, apparently it does touch it somehow and it's 3 am so I'm being dumb.

@pop4959
Copy link
Member Author

pop4959 commented Feb 26, 2024

Better impl in #5711.

@pop4959 pop4959 deleted the fix-5709 branch February 26, 2024 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
misc: adventure Issues and PRs related to the Adventure refactor. Temporary label during 2.21.x cycle. module: main Issues or PRs for the main Essentials module type: bugfix PRs that fix bugs in EssentialsX.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

everyone is missing from /list except players starting with A?
1 participant