Java 7 and make intellij happy

This commit is contained in:
Trent Hensler
2017-12-19 02:18:13 -08:00
parent ce132ed033
commit 3b644cd6c3
53 changed files with 222 additions and 285 deletions

View File

@@ -37,7 +37,7 @@ public class CmdDisband extends FCommand {
return;
}
boolean isMyFaction = fme == null ? false : faction == myFaction;
boolean isMyFaction = fme != null && faction == myFaction;
if (isMyFaction) {
if (!assertMinRole(Role.ADMIN)) {