From 870495ac1a7517518b267ccaefe6f3828f2fa001 Mon Sep 17 00:00:00 2001 From: boy0001 Date: Tue, 28 Jul 2015 01:25:35 +1000 Subject: [PATCH] . --- .../com/intellectualcrafters/plot/commands/MainCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/intellectualcrafters/plot/commands/MainCommand.java b/src/main/java/com/intellectualcrafters/plot/commands/MainCommand.java index 82a0be3b6..af03a6196 100644 --- a/src/main/java/com/intellectualcrafters/plot/commands/MainCommand.java +++ b/src/main/java/com/intellectualcrafters/plot/commands/MainCommand.java @@ -258,7 +258,7 @@ public class MainCommand extends CommandManager { MainUtil.sendMessage(plr, C.NOT_VALID_SUBCOMMAND); { ArrayList> cmds = getCommands(); - cmd = new StringComparison>(args[0], cmds).getMatchObject(); + cmd = new StringComparison>(label, cmds).getMatchObject(); MainUtil.sendMessage(plr, C.DID_YOU_MEAN, cmd.getUsage()); } return CommandHandlingOutput.NOT_FOUND;