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

Commit 69c698f

Browse files
committed
Changed sorting from collections sort, into the internal call.
1 parent 5a37320 commit 69c698f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/massivecraft/factions/cmd/CmdTop.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public int compare(Faction f1, Faction f2) {
118118
}
119119
});
120120
} else if (criteria.equalsIgnoreCase("money") || criteria.equalsIgnoreCase("balance") || criteria.equalsIgnoreCase("bal")) {
121-
Collections.sort(factionList, new Comparator<Faction>() {
121+
factionList.sort(new Comparator<Faction>() {
122122
@Override
123123
public int compare(Faction f1, Faction f2) {
124124
double f1Size = Econ.getBalance(f1.getAccountId());

0 commit comments

Comments
 (0)