Archived
0
This commit is contained in:
Dico
2018-08-02 03:42:48 +01:00
parent 3917855a72
commit 6513ad9237
15 changed files with 117 additions and 99 deletions

View File

@@ -15,7 +15,7 @@ fun getParcelCommands(plugin: ParcelsPlugin): ICommandDispatcher {
return CommandBuilder()
.setChatController(ParcelsChatController())
.addParameterType(false, ParcelParameterType(plugin.worlds))
.addParameterType(true, ParcelHomeParameterType(plugin.worlds))
.addParameterType(true, ParcelTarget.PType(plugin.worlds))
.group("parcel", "plot", "plots", "p")
.registerCommands(CommandsGeneral(plugin))