Skip to content

Commit

Permalink
Including "highestLimit" number
Browse files Browse the repository at this point in the history
  • Loading branch information
RedstoneFuture committed Oct 28, 2023
1 parent 15b4cbd commit e183d06
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ private TabCompletions() {
return Collections.emptyList();
}
final List<String> commands = new ArrayList<>();
for (int i = offset; i < highestLimit && (offset - i + amountLimit) > 0; i++) {
for (int i = offset; i <= highestLimit && (offset - i + amountLimit) > 0; i++) {
commands.add(String.valueOf(i));
}
return asCompletions(commands.toArray(new String[0]));
Expand Down

0 comments on commit e183d06

Please sign in to comment.