fixed help dis/total

This commit is contained in:
boy0001 2014-11-19 12:10:40 +11:00
parent 6e1ca16121
commit a00f38e91f

View File

@ -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())
);