From 56d8065eeee9bb4368b8ab04e14f47334d7fa52e Mon Sep 17 00:00:00 2001 From: yoyosource Date: Wed, 27 Apr 2022 11:11:26 +0200 Subject: [PATCH] Fix CommandPart --- src/de/steamwar/command/CommandPart.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/steamwar/command/CommandPart.java b/src/de/steamwar/command/CommandPart.java index 8a00c14..da84aa8 100644 --- a/src/de/steamwar/command/CommandPart.java +++ b/src/de/steamwar/command/CommandPart.java @@ -134,7 +134,7 @@ class CommandPart { public void generateTabComplete(List current, T sender, String[] args, int startIndex) { if (varArgType != null) { for (int i = startIndex; i < args.length - 1; i++) { - CheckArgumentResult validArgument = checkArgument(null, sender, args, i); + CheckArgumentResult validArgument = checkArgument(GuardCheckType.TAB_COMPLETE, sender, args, i); if (!validArgument.success) { return; }