Skip to content

Commit

Permalink
reverted fix for trigger on empty message, as cmi itself sends it out.
Browse files Browse the repository at this point in the history
who knew
  • Loading branch information
456dev committed Apr 10, 2023
1 parent cda0ec9 commit f5f82e3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public Boolean perform(CMI cmi, CommandSender commandSender, String[] args) {

// CMI has special cases for [on, off, toggle] when the sender is a player, resulting in no staff messages sent
if (!((commandSender instanceof Player) && (strArgs.equalsIgnoreCase("on")
|| strArgs.equalsIgnoreCase("off") || strArgs.equalsIgnoreCase("toggle") || strArgs.equalsIgnoreCase("")))) {
|| strArgs.equalsIgnoreCase("off") || strArgs.equalsIgnoreCase("toggle")))) {
// otherwise, go over the handlers
for (MsgHandler handler : StaffChatPlugin.getInstance().getMsgHandlers()) {
try {
Expand Down

0 comments on commit f5f82e3

Please sign in to comment.