SPIGOT-6001: Hex colors format differently to traditional colours

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot 2020-07-19 08:44:42 +10:00
parent 585c6e1fb3
commit 95dbba65c7

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) {