From b9881eb70bc29df1f90b69a85eb45a79f594d490 Mon Sep 17 00:00:00 2001 From: extendedclip Date: Fri, 21 Jun 2019 12:49:45 -0400 Subject: [PATCH] Fix page indexes when on pages greater than 1 --- .../me/clip/placeholderapi/commands/ExpansionCloudCommands.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/clip/placeholderapi/commands/ExpansionCloudCommands.java b/src/main/java/me/clip/placeholderapi/commands/ExpansionCloudCommands.java index 7ae5750..ac3b419 100644 --- a/src/main/java/me/clip/placeholderapi/commands/ExpansionCloudCommands.java +++ b/src/main/java/me/clip/placeholderapi/commands/ExpansionCloudCommands.java @@ -354,7 +354,7 @@ public class ExpansionCloudCommands implements CommandExecutor { expansions.put(exp.getName(), exp); } List 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;