mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-06-29 20:24:43 +02: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