1
0
Fork 0
mirror of https://github.com/PaperMC/Paper.git synced 2025-01-28 18:54:48 +01:00

SPIGOT-6001: Hex colors format differently to traditional colours

This commit is contained in:
md_5 2020-07-19 08:44:42 +10:00
parent 2361cb8a81
commit 6b95d595cf
No known key found for this signature in database
GPG key ID: E8E901AC7C617C11

View file

@ -87,7 +87,7 @@ public final class CraftChatMessage {
hex.append(c);
if (hex.length() == 7) {
modifier = modifier.setColor(ChatHexColor.a(hex.toString()));
modifier = RESET.setColor(ChatHexColor.a(hex.toString()));
hex = null;
}
} else if (format.isFormat() && format != EnumChatFormat.RESET) {