some bindings

This commit is contained in:
Jesse Boyd
2019-07-22 16:02:51 +10:00
parent f5c202af6d
commit 07283af614
37 changed files with 1080 additions and 2239 deletions

View File

@ -489,7 +489,7 @@ public abstract class CommandsManager<T> {
newFlags.add(flags[i]);
}
InjectedValueAccess context = new InjectedValueAccess(newArgs, valueFlags);
CommandContext context = new CommandContext(newArgs, valueFlags);
if (context.argsLength() < cmd.min()) {
throw new CommandUsageException("Too few arguments.", getUsage(args, level, cmd));