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

Commit

Permalink
Changed sorting from collections sort, into the internal call.
Browse files Browse the repository at this point in the history
  • Loading branch information
prosavage committed Feb 12, 2019
1 parent 5a37320 commit 69c698f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/massivecraft/factions/cmd/CmdTop.java
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public int compare(Faction f1, Faction f2) {
}
});
} 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());
Expand Down

0 comments on commit 69c698f

Please sign in to comment.