mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-12-14 05:48:46 +01:00
Remove all warnings and magic strings from PlayerEvents :3
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user