Skip to content

Commit

Permalink
Fix list
Browse files Browse the repository at this point in the history
  • Loading branch information
Goldmensch committed Jan 5, 2025
1 parent 35c0cb7 commit 76f866f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public class JDACommandsBuilder {
private final Map<Class<? extends Annotation>, Validator> validators = new HashMap<>();

JDACommandsBuilder(JDAContext context, ClassFinder[] classFinders) {
this.classFinders = Arrays.asList(classFinders);
this.classFinders = new ArrayList<>(Arrays.asList(classFinders));
this.context = Objects.requireNonNull(context);
}

Expand Down

0 comments on commit 76f866f

Please sign in to comment.