mirror of
https://github.com/darksaid98/TownyChat.git
synced 2026-12-02 06:28:58 +00:00
v0.33:
- Only modify the chat format if modify_chat = true for all channels.
This commit is contained in:
1 parent
582796e43a
commit
613880d560
3 files changed
+7
-3
No files matched your search
+3
-1
@@ -128,4 +128,6 @@ v0.31:
|
||||
- Fix in onPlayerCommandPreprocess for an empty message error.
|
||||
v0.32:
|
||||
- Don't check version of CraftIRC. Will work with all versions post 3.1.
|
||||
- Fix for not colouring resident titles.
|
||||
- Fix for not colouring resident titles.
|
||||
v0.33:
|
||||
- Only modify the chat format if modify_chat = true for all channels.
|
||||
@@ -96,7 +96,9 @@ public class StandardChannel extends Channel {
|
||||
/*
|
||||
* Perform all replace functions on this format
|
||||
*/
|
||||
event.setFormat(Format.replace("{channelTag}", getChannelTag()).replace("{msgcolour}", getMessageColour()));
|
||||
if (ChatSettings.isModify_chat())
|
||||
event.setFormat(Format.replace("{channelTag}", getChannelTag()).replace("{msgcolour}", getMessageColour()));
|
||||
|
||||
LocalTownyChatEvent chatEvent = new LocalTownyChatEvent(event, resident);
|
||||
event.setFormat(TownyChatFormatter.getChatFormat(chatEvent));
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
name: TownyChat
|
||||
main: com.palmergames.bukkit.TownyChat.Chat
|
||||
version: 0.32
|
||||
version: 0.33
|
||||
author: ElgarL, Shade, phrstbrn
|
||||
website: http://code.google.com/a/eclipselabs.org/p/towny/
|
||||
description: >
|
||||
|
||||
Reference in new issue
Block a user