From a00f38e91fdfc8e88de177f44f7b5b502df4b4e7 Mon Sep 17 00:00:00 2001 From: boy0001 Date: Wed, 19 Nov 2014 12:10:40 +1100 Subject: [PATCH] fixed help dis/total --- .../com/intellectualcrafters/plot/commands/MainCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) );