mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-25 14:46:45 +01:00
Fix plot help category pagination
This commit is contained in:
parent
fdc42a3d5c
commit
e0208aa369
@ -47,9 +47,9 @@ public class Help extends Command {
|
|||||||
case 2:
|
case 2:
|
||||||
if (MathMan.isInteger(args[1])) {
|
if (MathMan.isInteger(args[1])) {
|
||||||
try {
|
try {
|
||||||
displayHelp(player, args[1], Integer.parseInt(args[1]));
|
displayHelp(player, args[0], Integer.parseInt(args[1]));
|
||||||
} catch (NumberFormatException ignored) {
|
} catch (NumberFormatException ignored) {
|
||||||
displayHelp(player, args[1], 1);
|
displayHelp(player, args[0], 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user