From 9d21df9c635edf100ba5749b303c4a48ed586cee Mon Sep 17 00:00:00 2001 From: ProSavage Date: Tue, 6 Nov 2018 23:01:08 -0600 Subject: [PATCH] Fixed faction chat mode switch to public, IntelliJ refactor broke it. --- src/main/java/com/massivecraft/factions/cmd/CmdChat.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/massivecraft/factions/cmd/CmdChat.java b/src/main/java/com/massivecraft/factions/cmd/CmdChat.java index eb612411..69cff8d8 100644 --- a/src/main/java/com/massivecraft/factions/cmd/CmdChat.java +++ b/src/main/java/com/massivecraft/factions/cmd/CmdChat.java @@ -44,7 +44,7 @@ public class CmdChat extends FCommand { } else if (modeString.startsWith("m") && !fme.getRole().isAtLeast(Role.MODERATOR)) { msg(TL.COMMAND_CHAT_MOD_ONLY); return; - } else if (modeString.startsWith("plugin")) { + } else if (modeString.startsWith("p")) { modeTarget = ChatMode.PUBLIC; } else if (modeString.startsWith("a")) { modeTarget = ChatMode.ALLIANCE;