last bug...

This commit is contained in:
TONY_All 2022-02-04 23:48:51 +08:00
parent 2f9b04b690
commit 1385f99413
1 changed files with 5 additions and 3 deletions

View File

@ -141,10 +141,12 @@ object InviteCodeCommands {
} }
execute<ConsoleCommandSender> { sender, ctx, arg -> execute<ConsoleCommandSender> { sender, ctx, arg ->
PluginScope.launch { PluginScope.launch {
InviteCode.find { InviteCodes.name eq ctx.argument(-1) }.first().run { transaction {
qq = arg InviteCode.find { InviteCodes.name eq ctx.argument(-1) }.first().run {
qq = arg
}
sender.sendMessage("§a| §7修改成功")
} }
sender.sendMessage("§a| §7修改成功")
} }
} }
} }