Merge remote-tracking branch 'origin/master'

This commit is contained in:
Sauilitired 2014-11-19 17:16:22 +01:00
commit 5f9927cda7

View File

@ -111,7 +111,7 @@ public class MainCommand implements CommandExecutor, TabCompleter {
.replace("%category%", category.toString()) .replace("%category%", category.toString())
.replace("%current%", "" + (page + 1)) .replace("%current%", "" + (page + 1))
.replace("%max%", "" + (totalPages + 1)) .replace("%max%", "" + (totalPages + 1))
.replace("%dis%", "" + perPage) .replace("%dis%", "" + (commands.size() % perPage))
.replace("%total%", "" + commands.size()) .replace("%total%", "" + commands.size())
); );