mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-23 00:15:06 +00:00
Fix plot help category pagination
This commit is contained in:
parent
fdc42a3d5c
commit
e0208aa369
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue