From d9c0ec27b081628ef08b41feb1f6c1a343f3b8eb Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Mon, 28 Mar 2016 23:04:08 +1100 Subject: [PATCH] Fixes #774 --- .../com/intellectualcrafters/plot/commands/MainCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/src/main/java/com/intellectualcrafters/plot/commands/MainCommand.java b/Core/src/main/java/com/intellectualcrafters/plot/commands/MainCommand.java index f4f423000..171949c8b 100644 --- a/Core/src/main/java/com/intellectualcrafters/plot/commands/MainCommand.java +++ b/Core/src/main/java/com/intellectualcrafters/plot/commands/MainCommand.java @@ -150,7 +150,7 @@ public class MainCommand extends Command { String[] tmp = new String[args.length + 1]; tmp[0] = split2[0]; tmp[args.length] = split2[1]; - if (args.length > 2) { + if (args.length >= 2) { System.arraycopy(args, 1, tmp, 1, args.length - 1); } args = tmp;