mirror of
https://github.com/darksaid98/TownyChat.git
synced 2026-12-02 06:28:58 +00:00
Fixed '/g' mode to add formatting.
This commit is contained in:
1 parent
410ab57336
commit
1eec33b5c8
2 files changed
+5
-1
No files matched your search
+2
-1
@@ -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()) {
|
||||
|
||||
Reference in new issue
Block a user