last bug...

This commit is contained in:
2022-02-04 23:48:51 +08:00
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 {