mirror of
https://github.com/darksaid98/TownyChat.git
synced 2026-12-04 14:38:58 +00:00
v0.40:
- Allow global chat to pass through un-changed if there are no channels to talk in (requires setting modify_chat: false).
This commit is contained in:
1 parent
255baa6a0c
commit
375a8dccb7
3 files changed
+7
-5
No files matched your search
+3
-1
@@ -176,4 +176,6 @@ v0.37:
|
|||||||
v0.38:
|
v0.38:
|
||||||
- Fire chat Async so it matches all other chat.
|
- Fire chat Async so it matches all other chat.
|
||||||
v0.39:
|
v0.39:
|
||||||
- Ignore cancelled commands and chat.
|
- Ignore cancelled commands and chat.
|
||||||
|
v0.40:
|
||||||
|
- Allow global chat to pass through un-changed if there are no channels to talk in (requires setting modify_chat: false).
|
||||||
@@ -109,10 +109,10 @@ public class StandardChannel extends Channel {
|
|||||||
/*
|
/*
|
||||||
* Perform all replace functions on this format
|
* Perform all replace functions on this format
|
||||||
*/
|
*/
|
||||||
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
|
//else
|
||||||
event.setFormat(event.getFormat().replace("{channelTag}", getChannelTag()).replace("{msgcolour}", getMessageColour()));
|
// 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));
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
name: TownyChat
|
name: TownyChat
|
||||||
main: com.palmergames.bukkit.TownyChat.Chat
|
main: com.palmergames.bukkit.TownyChat.Chat
|
||||||
version: 0.39
|
version: 0.40
|
||||||
author: ElgarL, Shade, phrstbrn
|
author: ElgarL, Shade, phrstbrn
|
||||||
website: http://code.google.com/a/eclipselabs.org/p/towny/
|
website: http://code.google.com/a/eclipselabs.org/p/towny/
|
||||||
description: >
|
description: >
|
||||||
|
|||||||
Reference in new issue
Block a user