Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@JRoy
Copy link
Member

@JRoy JRoy commented Aug 18, 2022

Fixes #5058

In cases where a user has essentials.color.rgb but not all color codes (essentials.color.color), the strip functionality in FormatUtil#formatString will sometimes strip rgb codes in the md_5 format. Moving the strip before the format maintains strip behavior as well as prevents this from happening.

@JRoy JRoy added the module: main Issues or PRs for the main Essentials module label Aug 18, 2022
@JRoy JRoy added this to the 2.19.7 milestone Aug 18, 2022
@JRoy JRoy added the type: bugfix PRs that fix bugs in EssentialsX. label Aug 18, 2022
@JRoy JRoy enabled auto-merge (squash) August 18, 2022 17:27
@JRoy JRoy merged commit ca4077b into EssentialsX:2.x Aug 18, 2022
@JRoy JRoy deleted the fix/5058 branch August 18, 2022 17:29
ressidell pushed a commit to ressidell/Essentials that referenced this pull request Apr 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

RGB color codes are stripped unless sender has certain color permissions

3 participants