mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-11-09 04:01:54 +01:00
Fix number of entries not being used.
This commit is contained in:
parent
1a73b65d4a
commit
58f84028f3
@ -120,6 +120,7 @@ public class TopCommand extends BaseCommand{
|
|||||||
builder.append("/max=");
|
builder.append("/max=");
|
||||||
builder.append(format.format(view.maxVL));
|
builder.append(format.format(view.maxVL));
|
||||||
builder.append(")");
|
builder.append(")");
|
||||||
|
done ++;
|
||||||
if (done >= n) {
|
if (done >= n) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -153,7 +154,7 @@ public class TopCommand extends BaseCommand{
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
int startIndex = 1;
|
int startIndex = 1;
|
||||||
Integer n = 10;
|
int n = 10;
|
||||||
try {
|
try {
|
||||||
n = Integer.parseInt(args[1].trim());
|
n = Integer.parseInt(args[1].trim());
|
||||||
startIndex = 2;
|
startIndex = 2;
|
||||||
|
Loading…
Reference in New Issue
Block a user