From 8ee1b1da521150ab295a1fdd1eafafb9e094a817 Mon Sep 17 00:00:00 2001 From: ProSavage Date: Tue, 12 Feb 2019 07:48:51 -0400 Subject: [PATCH] Removed duplicate condition check in Ftop Command. --- src/main/java/com/massivecraft/factions/cmd/CmdTop.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/com/massivecraft/factions/cmd/CmdTop.java b/src/main/java/com/massivecraft/factions/cmd/CmdTop.java index d1640671..2792537d 100644 --- a/src/main/java/com/massivecraft/factions/cmd/CmdTop.java +++ b/src/main/java/com/massivecraft/factions/cmd/CmdTop.java @@ -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.