Check System Added and Massive Reformat
This commit is contained in:
@@ -12,7 +12,7 @@ public class CmdAlts extends FCommand {
|
||||
public CmdAltsList cmdAltsList = new CmdAltsList();
|
||||
|
||||
|
||||
public CmdAlts(){
|
||||
public CmdAlts() {
|
||||
super();
|
||||
|
||||
this.aliases.add("alts");
|
||||
|
||||
@@ -33,17 +33,17 @@ public class CmdAltsList extends FCommand {
|
||||
@Override
|
||||
public void perform() {
|
||||
Faction faction = myFaction;
|
||||
if(argIsSet(0)){
|
||||
if (argIsSet(0)) {
|
||||
faction = argAsFaction(0);
|
||||
}
|
||||
if(faction == null)
|
||||
if (faction == null)
|
||||
return;
|
||||
|
||||
if(faction != myFaction && !fme.isAdminBypassing()){
|
||||
if (faction != myFaction && !fme.isAdminBypassing()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if(faction.getAltPlayers().size() == 0){
|
||||
if (faction.getAltPlayers().size() == 0) {
|
||||
msg(TL.COMMAND_ALTS_LIST_NOALTS, faction.getTag());
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ public class CmdInviteAlt extends FCommand {
|
||||
|
||||
@Override
|
||||
public void perform() {
|
||||
if(!P.p.getConfig().getBoolean("f-alts.Enabled", false)){
|
||||
if (!P.p.getConfig().getBoolean("f-alts.Enabled", false)) {
|
||||
fme.msg(TL.GENERIC_DISABLED);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user