hhh
Signed-off-by: deepCurse <leverplays@gmail.com>
This commit is contained in:
parent
cda31cfaa0
commit
e154b8933d
1 changed files with 9 additions and 7 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue