diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/MainCommand.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/MainCommand.java index 3d097b178..b87394576 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/MainCommand.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/MainCommand.java @@ -111,7 +111,7 @@ public class MainCommand implements CommandExecutor, TabCompleter { .replace("%category%", category.toString()) .replace("%current%", "" + (page + 1)) .replace("%max%", "" + (totalPages + 1)) - .replace("%dis%", "" + perPage) + .replace("%dis%", "" + (commands.size() % perPage)) .replace("%total%", "" + commands.size()) );