mirror of
https://github.com/darksaid98/TownyChat.git
synced 2026-12-02 06:28:58 +00:00
- Fix hex colouring not being parsed for some tags.
This commit is contained in:
1 parent
4c29b4e27d
commit
242dabe657
3 files changed
+5
-3
No files matched your search
@@ -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>
|
||||
|
||||
@@ -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)));
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in new issue
Block a user