diff --git a/NCPCore/src/main/java/fr/neatmonster/nocheatplus/command/admin/top/TopCommand.java b/NCPCore/src/main/java/fr/neatmonster/nocheatplus/command/admin/top/TopCommand.java index 09fdb201..9b4bda79 100644 --- a/NCPCore/src/main/java/fr/neatmonster/nocheatplus/command/admin/top/TopCommand.java +++ b/NCPCore/src/main/java/fr/neatmonster/nocheatplus/command/admin/top/TopCommand.java @@ -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;