Prefix formatting bleeds into display name
Type of bug
Performance issue or memory leak
/ess dump all output
https://essentialsx.net/dump.html?id=2a7e713c0a5c48d1b5ca90e0a49a40f6
Error log (if applicable)
No response
Bug description
The bold from our prefixes is carrying over into our usernames when we /afk or un-/afk, and switching game modes, and in the /list of players online, even though our prefixes are specifically defined to reset the bold at the end of the prefix:
Steps to reproduce
- Update to the latest dev build of EssentialsX
- /afk or /gm or /list
Expected behaviour
Prefix is bolded and username is not.
Actual behaviour
Both prefix and username are in bold.
The random format code also causes problems for /list, /whois, /seen, and /msg
Prefix is &1[&9&k::&9CoOwner&9&k::&1]&7
EDIT: I tried adding the reset code &r to the prefix, but it didn't help.
Essentials v2.21.0-dev+56-1929d41 Paper version git-Paper-430 (MC: 1.20.4)