Skip to content

Commit

Permalink
Fix page indexes when on pages greater than 1
Browse files Browse the repository at this point in the history
  • Loading branch information
extendedclip committed Jun 21, 2019
1 parent 93f586a commit b9881eb
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -354,7 +354,7 @@ public boolean onCommand(CommandSender s, Command c, String label, String[] args
expansions.put(exp.getName(), exp);
}
List<String> ce = expansions.keySet().stream().sorted().collect(Collectors.toList());
int i = 0;
int i = page > 1 ? page * 10 : 0;
for (String name : ce) {
if (expansions.get(name) == null) {
continue;
Expand Down

0 comments on commit b9881eb

Please sign in to comment.