Fixed page limits in /help

This commit is contained in:
Anuken 2020-01-24 11:50:51 -05:00
parent 5b9b684ccd
commit 4c1459c47e

View File

@ -264,7 +264,7 @@ public class NetServer implements ApplicationListener{
page --;
if(page > pages || page < 0){
if(page >= pages || page < 0){
player.sendMessage("[scarlet]'page' must be a number between[orange] 1[] and[orange] " + pages + "[scarlet].");
return;
}