Signed-off-by: deepCurse <leverplays@gmail.com>
This commit is contained in:
lever1209 2021-12-07 00:04:52 -04:00
commit e154b8933d
No known key found for this signature in database
GPG key ID: EEBCBB60C9DFC782

View file

@ -106,6 +106,7 @@ public class GuildCommandManager extends CommandManager {
HashMap<Integer, Argument> positionalArgs = new HashMap<Integer, Argument>();
if (guildCommand.getArguments() != null) {
for (Argument i : guildCommand.getArguments().values()) {
if (i.getPosition() >= 0) {
positionalArgs.put(i.getPosition(), i);
@ -116,6 +117,7 @@ public class GuildCommandManager extends CommandManager {
}
}
}
for (int i = 0; i < args.size(); i++) {
String x = args.get(i);