mirror of
https://github.com/darksaid98/TownyChat.git
synced 2026-12-01 14:38:57 +00:00
refactor: cleanup logic
This commit is contained in:
1 file changed
+1
-1
@@ -72,7 +72,7 @@ public class TownyChatPlayerListener implements Listener {
|
||||
// Check if essentials has this player muted.
|
||||
if (!isEssentialsMuted(player)) {
|
||||
|
||||
boolean forceGlobal = ChatSettings.isExclamationPoint() ? event.getMessage().startsWith("!") : false;
|
||||
boolean forceGlobal = ChatSettings.isExclamationPoint() && event.getMessage().startsWith("!");
|
||||
|
||||
/*
|
||||
* If this was directed chat send it via the relevant channel
|
||||
|
||||
Reference in new issue
Block a user