Changed sorting from collections sort, into the internal call.
This commit is contained in:
parent
5a37320397
commit
69c698f6f2
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user