Remove all warnings and magic strings from PlayerEvents :3

This commit is contained in:
Sauilitired
2015-07-28 15:25:03 +02:00
parent 89e3bd97f0
commit bfa877e607
4 changed files with 179 additions and 144 deletions

View File

@ -32,7 +32,7 @@ public class HelpMenu {
}
public HelpMenu generateMaxPages() {
this._maxPage = Math.max(_commands.size() - 1 / PER_PAGE, 1);
this._maxPage = Math.max((_commands.size() - 1) / PER_PAGE, 1);
return this;
}