mirror of
https://github.com/darksaid98/TownyChat.git
synced 2026-12-04 06:28:57 +00:00
- Fix hex colouring not being parsed for some tags.
This commit is contained in:
1 parent
4c29b4e27d
commit
242dabe657
3 files changed
+4
-2
No files matched your search
@@ -7,7 +7,7 @@
|
|||||||
<groupId>com.palmergames.bukkit</groupId>
|
<groupId>com.palmergames.bukkit</groupId>
|
||||||
<artifactId>TownyChat</artifactId>
|
<artifactId>TownyChat</artifactId>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<version>0.97</version>
|
<version>0.98</version>
|
||||||
|
|
||||||
<licenses>
|
<licenses>
|
||||||
<license>
|
<license>
|
||||||
|
|||||||
@@ -417,3 +417,5 @@ v0.97:
|
|||||||
- Update java to 17 and adopt jabel.
|
- Update java to 17 and adopt jabel.
|
||||||
- Colour channel name in the You have joined channel messages, according to the channel message colour.
|
- 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())) {
|
if (!(channelType.equals(channelTypes.GLOBAL) && !ChatSettings.isModify_chat())) {
|
||||||
event.setFormat(parseTagAndMsgColour(format));
|
event.setFormat(parseTagAndMsgColour(format));
|
||||||
LocalTownyChatEvent chatEvent = new LocalTownyChatEvent(event, resident);
|
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