File tree 1 file changed +4
-0
lines changed
src/main/java/org/spongepowered/api/command/manager
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 28
28
import org .spongepowered .api .command .CommandResult ;
29
29
import org .spongepowered .api .command .exception .CommandException ;
30
30
import org .spongepowered .api .command .registrar .CommandRegistrar ;
31
+ import org .spongepowered .api .command .registrar .tree .CommandTreeBuilder ;
31
32
import org .spongepowered .api .plugin .PluginContainer ;
32
33
import org .spongepowered .api .service .permission .Subject ;
33
34
import org .spongepowered .api .text .channel .MessageChannel ;
@@ -134,6 +135,8 @@ public interface CommandManager {
134
135
* @param registrar The {@link CommandRegistrar} that is requesting the
135
136
* aliases
136
137
* @param container The {@link PluginContainer} to register the command for
138
+ * @param commandTree The {@link CommandTreeBuilder} that represents this command
139
+ * structure
137
140
* @param primaryAlias The first command alias to register
138
141
* @param secondaryAliases Secondary aliases to register, if any
139
142
* @return The {@link CommandMapping} containing the command mapping
@@ -143,6 +146,7 @@ public interface CommandManager {
143
146
*/
144
147
CommandMapping registerAlias (CommandRegistrar registrar ,
145
148
PluginContainer container ,
149
+ CommandTreeBuilder .Basic commandTree ,
146
150
String primaryAlias ,
147
151
String ... secondaryAliases )
148
152
throws CommandFailedRegistrationException ;
You can’t perform that action at this time.
0 commit comments