Fixed '/g' mode to add formatting.

This commit is contained in:
ElgarL committed 2011-12-14 15:07:32 +00:00
1 parent 410ab57336
commit 1eec33b5c8
2 files changed
+5 -1

No files matched your search

+2 -1
View File
@@ -16,4 +16,5 @@ v0.5:
While in a chat mode you can talk in global chat with '/g text here'.
to clear all chat modes '/g'.
- Added a new permission node for global chat ('/g') of 'towny.chat.global'.
- Added {worldname} as an accepted entry.
- Added {worldname} as an accepted entry.
- Fixed '/g' mode to add formatting.
@@ -113,6 +113,9 @@ public class TownyPlayerHighestListener extends PlayerListener {
} else if (plugin.hasPlayerMode(player, "nc")) {
// Nation chat
parseNationChatCommand(event, "/nc", player);
} else if (plugin.hasPlayerMode(player, "g")) {
// Global chat
parseGlobalChannelChatCommand(event, "/g", player);
} else {
for (String channel : TownySettings.getChatChannels()) {