Fix plot help category pagination

This commit is contained in:
Jesse Boyd 2016-11-18 10:49:03 +11:00
parent fdc42a3d5c
commit e0208aa369
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -47,9 +47,9 @@ public class Help extends Command {
case 2:
if (MathMan.isInteger(args[1])) {
try {
displayHelp(player, args[1], Integer.parseInt(args[1]));
displayHelp(player, args[0], Integer.parseInt(args[1]));
} catch (NumberFormatException ignored) {
displayHelp(player, args[1], 1);
displayHelp(player, args[0], 1);
}
}
return;