Removed duplicate condition check in Ftop Command.
This commit is contained in:
parent
69c698f6f2
commit
8ee1b1da52
@ -180,8 +180,6 @@ public class CmdTop extends FCommand {
|
|||||||
return String.valueOf(faction.getFPlayers().size());
|
return String.valueOf(faction.getFPlayers().size());
|
||||||
} else if (criteria.equalsIgnoreCase("land")) {
|
} else if (criteria.equalsIgnoreCase("land")) {
|
||||||
return String.valueOf(faction.getLandRounded());
|
return String.valueOf(faction.getLandRounded());
|
||||||
} else if (criteria.equalsIgnoreCase("start")) {
|
|
||||||
return sdf.format(faction.getFoundedDate());
|
|
||||||
} else if (criteria.equalsIgnoreCase("power")) {
|
} else if (criteria.equalsIgnoreCase("power")) {
|
||||||
return String.valueOf(faction.getPowerRounded());
|
return String.valueOf(faction.getPowerRounded());
|
||||||
} else { // Last one is balance, and it has 3 different things it could be.
|
} else { // Last one is balance, and it has 3 different things it could be.
|
||||||
|
Loading…
Reference in New Issue
Block a user