mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-06 07:02:18 -07:00
SPIGOT-6001: Hex colors format differently to traditional colours
This commit is contained in:
@@ -87,7 +87,7 @@ public final class CraftChatMessage {
|
|||||||
hex.append(c);
|
hex.append(c);
|
||||||
|
|
||||||
if (hex.length() == 7) {
|
if (hex.length() == 7) {
|
||||||
modifier = modifier.setColor(ChatHexColor.a(hex.toString()));
|
modifier = RESET.setColor(ChatHexColor.a(hex.toString()));
|
||||||
hex = null;
|
hex = null;
|
||||||
}
|
}
|
||||||
} else if (format.isFormat() && format != EnumChatFormat.RESET) {
|
} else if (format.isFormat() && format != EnumChatFormat.RESET) {
|
||||||
|
Reference in New Issue
Block a user