mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-11-06 18:50: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(format.format(view.maxVL));
|
||||
builder.append(")");
|
||||
done ++;
|
||||
if (done >= n) {
|
||||
break;
|
||||
}
|
||||
@ -153,7 +154,7 @@ public class TopCommand extends BaseCommand{
|
||||
return false;
|
||||
}
|
||||
int startIndex = 1;
|
||||
Integer n = 10;
|
||||
int n = 10;
|
||||
try {
|
||||
n = Integer.parseInt(args[1].trim());
|
||||
startIndex = 2;
|
||||
|
Loading…
Reference in New Issue
Block a user