Skip to content

Commit e0cb097

Browse files
committed
Update CommandManager so that we can build a Brig tree in the impl
1 parent d362888 commit e0cb097

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/org/spongepowered/api/command/manager/CommandManager.java

+4
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
import org.spongepowered.api.command.CommandResult;
2929
import org.spongepowered.api.command.exception.CommandException;
3030
import org.spongepowered.api.command.registrar.CommandRegistrar;
31+
import org.spongepowered.api.command.registrar.tree.CommandTreeBuilder;
3132
import org.spongepowered.api.plugin.PluginContainer;
3233
import org.spongepowered.api.service.permission.Subject;
3334
import org.spongepowered.api.text.channel.MessageChannel;
@@ -134,6 +135,8 @@ public interface CommandManager {
134135
* @param registrar The {@link CommandRegistrar} that is requesting the
135136
* aliases
136137
* @param container The {@link PluginContainer} to register the command for
138+
* @param commandTree The {@link CommandTreeBuilder} that represents this command
139+
* structure
137140
* @param primaryAlias The first command alias to register
138141
* @param secondaryAliases Secondary aliases to register, if any
139142
* @return The {@link CommandMapping} containing the command mapping
@@ -143,6 +146,7 @@ public interface CommandManager {
143146
*/
144147
CommandMapping registerAlias(CommandRegistrar registrar,
145148
PluginContainer container,
149+
CommandTreeBuilder.Basic commandTree,
146150
String primaryAlias,
147151
String... secondaryAliases)
148152
throws CommandFailedRegistrationException;

0 commit comments

Comments
 (0)