Skip to content
This repository has been archived by the owner on Jul 7, 2023. It is now read-only.

Commit

Permalink
Removed duplicate condition check in Ftop Command.
Browse files Browse the repository at this point in the history
  • Loading branch information
prosavage committed Feb 12, 2019
1 parent 69c698f commit 8ee1b1d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/java/com/massivecraft/factions/cmd/CmdTop.java
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,6 @@ private String getValue(Faction faction, String criteria) {
return String.valueOf(faction.getFPlayers().size());
} else if (criteria.equalsIgnoreCase("land")) {
return String.valueOf(faction.getLandRounded());
} else if (criteria.equalsIgnoreCase("start")) {
return sdf.format(faction.getFoundedDate());
} else if (criteria.equalsIgnoreCase("power")) {
return String.valueOf(faction.getPowerRounded());
} else { // Last one is balance, and it has 3 different things it could be.
Expand Down

0 comments on commit 8ee1b1d

Please sign in to comment.