mirror of
https://github.com/darksaid98/TownyChat.git
synced 2026-12-04 14:38:58 +00:00
Replace {channeltag} always.
This commit is contained in:
1 parent
613880d560
commit
ed5df85307
1 file changed
+2
@@ -98,6 +98,8 @@ public class StandardChannel extends Channel {
|
|||||||
*/
|
*/
|
||||||
if (ChatSettings.isModify_chat())
|
if (ChatSettings.isModify_chat())
|
||||||
event.setFormat(Format.replace("{channelTag}", getChannelTag()).replace("{msgcolour}", getMessageColour()));
|
event.setFormat(Format.replace("{channelTag}", getChannelTag()).replace("{msgcolour}", getMessageColour()));
|
||||||
|
else
|
||||||
|
event.setFormat(event.getFormat().replace("{channelTag}", getChannelTag()).replace("{msgcolour}", getMessageColour()));
|
||||||
|
|
||||||
LocalTownyChatEvent chatEvent = new LocalTownyChatEvent(event, resident);
|
LocalTownyChatEvent chatEvent = new LocalTownyChatEvent(event, resident);
|
||||||
event.setFormat(TownyChatFormatter.getChatFormat(chatEvent));
|
event.setFormat(TownyChatFormatter.getChatFormat(chatEvent));
|
||||||
|
|||||||
Reference in new issue
Block a user