Replace {channeltag} always.

This commit is contained in:
ElgarL committed 2012-11-17 23:58:25 +00:00
1 parent 613880d560
commit ed5df85307
1 file changed
+2
@@ -98,6 +98,8 @@ public class StandardChannel extends Channel {
*/
if (ChatSettings.isModify_chat())
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);
event.setFormat(TownyChatFormatter.getChatFormat(chatEvent));