diff --git a/SpigotCore_Main/src/de/steamwar/command/CommandPart.java b/SpigotCore_Main/src/de/steamwar/command/CommandPart.java index 666d516..e150052 100644 --- a/SpigotCore_Main/src/de/steamwar/command/CommandPart.java +++ b/SpigotCore_Main/src/de/steamwar/command/CommandPart.java @@ -84,7 +84,7 @@ public class CommandPart { } public void generateArgumentArray(List current, CommandSender commandSender, String[] args, int startIndex) { - if (startIndex >= args.length) { + if (startIndex >= args.length && varArgType == null) { throw new CommandParseException(); }