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;