EssentialsX

EssentialsX

2M Downloads

Using Hex Colors for Chat format displays as white when no space is in between.

Andre601 opened this issue ยท 1 comments

commented

Type of bug

Other unexpected behaviour

/ess version output

[09:56:31 INFO]: Server version: 1.16.5-R0.1-SNAPSHOT git-Paper-503 (MC: 1.16.5)
[09:56:31 INFO]: EssentialsX version: 2.19.0-dev+52-7245e84
[09:56:31 INFO]: LuckPerms version: 5.2.76
[09:56:31 INFO]: PlaceholderAPI version: 2.10.9
[09:56:31 INFO]: Vault version: 1.7.3-b131
[09:56:31 INFO]: Citizens version: 2.0.27-SNAPSHOT (build 2269)
[09:56:31 INFO]: EssentialsXChat version: 2.19.0-dev+52-7245e84

Server startup log

https://paste.gg/p/Andre601/c3aa9ed21ecb4913b896f4720ac7bf46

EssentialsX config files

https://paste.gg/p/Andre601/c3aa9ed21ecb4913b896f4720ac7bf46

Error log (if applicable)

No response

Bug description

When you use Hex Colors in latest PaperMC version (Build 503 as of writing this) will the text show as white if the hex color and text itself don't have a space in-between each other.
As an example, having &#112233{DISPLAYNAME} shows as white but using &#112233 {DISPLAYNAME} works fine.

Steps to reproduce

  1. Use PaperMC build which implements kyori adventure components
  2. Use a chat format with Hex color and without any space between hex color code (&#<hex>) and text.
  3. Observe weird bug

Expected behaviour

Hex color should be parsed as expected.

Actual behaviour

Text is returned as white.

commented

Should be fixed in the latest paper build!