From e585ab57a9dd485a1c3ca40a11032eef3070cbe7 Mon Sep 17 00:00:00 2001 From: drtshock Date: Thu, 13 Nov 2014 09:12:34 -0600 Subject: [PATCH] Remove unused f list code. --- .../com/massivecraft/factions/cmd/CmdList.java | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/main/java/com/massivecraft/factions/cmd/CmdList.java b/src/main/java/com/massivecraft/factions/cmd/CmdList.java index 76a5747d..ee21a5c1 100644 --- a/src/main/java/com/massivecraft/factions/cmd/CmdList.java +++ b/src/main/java/com/massivecraft/factions/cmd/CmdList.java @@ -73,23 +73,6 @@ public class CmdList extends FCommand { ArrayList lines = new ArrayList(); -/* // this code was really slow on large servers, getting full info for every faction and then only showing 9 of them; rewritten below - lines.add(p.txt.parse("Factionless %d online", Factions.i.getNone().getFPlayersWhereOnline(true).size())); - for (Faction faction : factionList) - { - lines.add(p.txt.parse("%s %d/%d online, %d/%d/%d", - faction.getTag(fme), - faction.getFPlayersWhereOnline(true).size(), - faction.getFPlayers().size(), - faction.getLandRounded(), - faction.getPowerRounded(), - faction.getPowerMaxRounded()) - ); - } - - sendMessage(p.txt.getPage(lines, this.argAsInt(0, 1), "Faction List")); - */ - factionList.add(0, Factions.getInstance().getNone()); final int pageheight = 9;