From e0208aa369434b5ba85497071bd00e6a86fc214a Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Fri, 18 Nov 2016 10:49:03 +1100 Subject: [PATCH] Fix plot help category pagination --- .../java/com/intellectualcrafters/plot/commands/Help.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/src/main/java/com/intellectualcrafters/plot/commands/Help.java b/Core/src/main/java/com/intellectualcrafters/plot/commands/Help.java index 3fe2f6ad9..de77178d7 100644 --- a/Core/src/main/java/com/intellectualcrafters/plot/commands/Help.java +++ b/Core/src/main/java/com/intellectualcrafters/plot/commands/Help.java @@ -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;