Changed sorting from collections sort, into the internal call.

This commit is contained in:
ProSavage 2019-02-12 07:48:18 -04:00
parent 5a37320397
commit 69c698f6f2

View File

@ -118,7 +118,7 @@ public class CmdTop extends FCommand {
}
});
} else if (criteria.equalsIgnoreCase("money") || criteria.equalsIgnoreCase("balance") || criteria.equalsIgnoreCase("bal")) {
Collections.sort(factionList, new Comparator<Faction>() {
factionList.sort(new Comparator<Faction>() {
@Override
public int compare(Faction f1, Faction f2) {
double f1Size = Econ.getBalance(f1.getAccountId());