Fixed faction chat mode switch to public, IntelliJ refactor broke it.
This commit is contained in:
parent
23c83a43ec
commit
9d21df9c63
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user