Skip to content

Commit

Permalink
Fix InvalidCommandException being thrown with incorrect arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
Revxrsal committed Oct 10, 2021
1 parent 20c0b0e commit be42145
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ public Object eval(@NotNull CommandActor actor, @NotNull ArgumentStack arguments
} else
throw new InvalidSubcommandException(path, path.getLast());
} else {
System.out.println("Last category: " + arguments);
if (lastArgument != null)
throw new InvalidCommandException(path, lastArgument);
}
Expand Down

0 comments on commit be42145

Please sign in to comment.