mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-20 17:28:14 +07:00
Fixed page limits in /help
This commit is contained in:
parent
5b9b684ccd
commit
4c1459c47e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user