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