Fixed faction chat mode switch to public, IntelliJ refactor broke it.

This commit is contained in:
ProSavage 2018-11-06 23:01:08 -06:00
parent 23c83a43ec
commit 9d21df9c63

View File

@ -44,7 +44,7 @@ public class CmdChat extends FCommand {
} else if (modeString.startsWith("m") && !fme.getRole().isAtLeast(Role.MODERATOR)) { } else if (modeString.startsWith("m") && !fme.getRole().isAtLeast(Role.MODERATOR)) {
msg(TL.COMMAND_CHAT_MOD_ONLY); msg(TL.COMMAND_CHAT_MOD_ONLY);
return; return;
} else if (modeString.startsWith("plugin")) { } else if (modeString.startsWith("p")) {
modeTarget = ChatMode.PUBLIC; modeTarget = ChatMode.PUBLIC;
} else if (modeString.startsWith("a")) { } else if (modeString.startsWith("a")) {
modeTarget = ChatMode.ALLIANCE; modeTarget = ChatMode.ALLIANCE;