From 4292a9fc9076162de79cdd30c6bd6ae7c4746aef Mon Sep 17 00:00:00 2001 From: phinner <62483793+phinner@users.noreply.github.com> Date: Mon, 15 Apr 2024 19:01:13 +0200 Subject: [PATCH] feat: Add missing teamComponent overload --- .../distributor/api/command/cloud/parser/TeamParser.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/distributor-command-cloud/src/main/java/com/xpdustry/distributor/api/command/cloud/parser/TeamParser.java b/distributor-command-cloud/src/main/java/com/xpdustry/distributor/api/command/cloud/parser/TeamParser.java index 2f8f4cec..9327f289 100644 --- a/distributor-command-cloud/src/main/java/com/xpdustry/distributor/api/command/cloud/parser/TeamParser.java +++ b/distributor-command-cloud/src/main/java/com/xpdustry/distributor/api/command/cloud/parser/TeamParser.java @@ -56,6 +56,10 @@ public static CommandComponent.Builder teamComponent() { return CommandComponent.builder().parser(teamParser()); } + public static CommandComponent.Builder teamComponent(final TeamMode teamMode) { + return CommandComponent.builder().parser(teamParser()); + } + private final TeamMode teamMode; public TeamParser(final TeamMode teamMode) {