Allow multiple class files registering to same root alias - resolves #17

allows organizing categories of commands (staff etc)
This commit is contained in:
Aikar
2017-05-04 23:36:47 -04:00
parent 1c212311f5
commit 4160e8be23
10 changed files with 157 additions and 39 deletions
@@ -73,4 +73,10 @@ public class SomeCommand extends BaseCommand {
sender.sendMessage("You got " + player.getPlayer().getName() + " - " + world.getName() + " - " + test + " - " + misc);
}
@Subcommand("testsub test1")
@CommandCompletion("Foo")
public void onTestSub1(CommandSender sender, String hi) {
sender.sendMessage(hi);
}
}