mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2024-11-18 00:46:55 +01:00
Fix page indexes when on pages greater than 1
This commit is contained in:
parent
93f586a216
commit
b9881eb70b
@ -354,7 +354,7 @@ public class ExpansionCloudCommands implements CommandExecutor {
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user