Skip to content

Commit

Permalink
feat: Add missing teamComponent overload
Browse files Browse the repository at this point in the history
  • Loading branch information
phinner committed Apr 15, 2024
1 parent 8430e99 commit 4292a9f
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ public static <C> CommandComponent.Builder<C, Team> teamComponent() {
return CommandComponent.<C, Team>builder().parser(teamParser());
}

public static <C> CommandComponent.Builder<C, Team> teamComponent(final TeamMode teamMode) {
return CommandComponent.<C, Team>builder().parser(teamParser());
}

private final TeamMode teamMode;

public TeamParser(final TeamMode teamMode) {
Expand Down

0 comments on commit 4292a9f

Please sign in to comment.