- Fix hex colouring not being parsed for some tags.

This commit is contained in:
LlmDl committed 2022-10-01 07:59:45 -05:00
1 parent 4c29b4e27d
commit 242dabe657
3 files changed
+5 -3

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@
<groupId>com.palmergames.bukkit</groupId>
<artifactId>TownyChat</artifactId>
<packaging>jar</packaging>
<version>0.97</version>
<version>0.98</version>
<licenses>
<license>
+3 -1
View File
@@ -416,4 +416,6 @@ v0.97:
- Remove built-in HexFormatter.
- Update java to 17 and adopt jabel.
- Colour channel name in the You have joined channel messages, according to the channel message colour.
- Closes https://github.com/TownyAdvanced/Towny/issues/4503
- Closes https://github.com/TownyAdvanced/Towny/issues/4503
v0.98:
- Fix hex colouring not being parsed for some tags.
@@ -85,7 +85,7 @@ public class StandardChannel extends Channel {
if (!(channelType.equals(channelTypes.GLOBAL) && !ChatSettings.isModify_chat())) {
event.setFormat(parseTagAndMsgColour(format));
LocalTownyChatEvent chatEvent = new LocalTownyChatEvent(event, resident);
event.setFormat(TownyChatFormatter.getChatFormat(chatEvent));
event.setFormat(Colors.translateColorCodes(TownyChatFormatter.getChatFormat(chatEvent)));
}
/*