Skip to content

Uppercase Color Codes Incorrectly Handled #1734

@Spotlightsrule

Description

@Spotlightsrule

What behavior is expected:

Both uppercase and lowercase color codes should be expected to validate when used in plugins or chat (§e would be the same as using §E and &a would be the same as using &A)

What behavior is observed:

The console just spits out the color code without parsing it. Sometimes, it glitches and repeats certain characters. However, the game itself parses the color code correctly.

Steps/models to reproduce:

  1. Create a dummy plugin with a line in it like System.out.println("§EHi);
  2. Type a message like &ETest in the chat (Essentials installed)

Plugin list:

  • EssentialsX
  • EssentialsX-Chat
  • A custom plugin with the aforementioned line in it

Paper build number:

git-Paper-474 (MC: 1.13.2) (Implementing API version 1.13.2-R0.1-SNAPSHOT)

Anything else:

Translation of color codes in individual plugins to lower-case may solve this issue temporarily, and testing was done in a Spigot 1.13 server, and the issue didn't occur there.

Images of the issue occurring:

issue1
issue2
issue3

Metadata

Metadata

Assignees

Labels

type: bugSomething doesn't work as it was intended to.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions