last bug...
This commit is contained in:
parent
2f9b04b690
commit
1385f99413
|
|
@ -141,6 +141,7 @@ object InviteCodeCommands {
|
|||
}
|
||||
execute<ConsoleCommandSender> { sender, ctx, arg ->
|
||||
PluginScope.launch {
|
||||
transaction {
|
||||
InviteCode.find { InviteCodes.name eq ctx.argument(-1) }.first().run {
|
||||
qq = arg
|
||||
}
|
||||
|
|
@ -150,6 +151,7 @@ object InviteCodeCommands {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private fun CommandBuilder.CommandComponent.cmdAdd() = literal("add") {
|
||||
dynamic {
|
||||
|
|
|
|||
Loading…
Reference in New Issue