mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-01-30 03:11:22 +01:00
Sort by sumVL after n, for lower violation counts.
This commit is contained in:
parent
b498f993dd
commit
6b71692a40
@ -187,7 +187,7 @@ public class TopCommand extends BaseCommand{
|
|||||||
Comparator<VLView> comparator = VLView.parseMixedComparator(args, startIndex);
|
Comparator<VLView> comparator = VLView.parseMixedComparator(args, startIndex);
|
||||||
if (comparator == null) {
|
if (comparator == null) {
|
||||||
// TODO: Default comparator ?
|
// TODO: Default comparator ?
|
||||||
comparator = new FCFSComparator<ViolationHistory.VLView>(Arrays.asList(VLView.CmpnVL), true);
|
comparator = new FCFSComparator<VLView>(Arrays.asList(VLView.CmpnVL, VLView.CmpSumVL), true);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Run a worker task.
|
// Run a worker task.
|
||||||
|
Loading…
Reference in New Issue
Block a user