diff --git a/build.gradle.kts b/build.gradle.kts index dd9bb0b..b54ff9c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -10,7 +10,7 @@ plugins { } group = "io.github.samarium150" -version = "1.6.0" +version = "1.6.1" repositories { mavenLocal() diff --git a/src/main/kotlin/io/github/samarium150/mirai/plugin/driftbottle/MiraiConsoleDriftBottle.kt b/src/main/kotlin/io/github/samarium150/mirai/plugin/driftbottle/MiraiConsoleDriftBottle.kt index 1a014af..d597f0f 100644 --- a/src/main/kotlin/io/github/samarium150/mirai/plugin/driftbottle/MiraiConsoleDriftBottle.kt +++ b/src/main/kotlin/io/github/samarium150/mirai/plugin/driftbottle/MiraiConsoleDriftBottle.kt @@ -34,7 +34,7 @@ object MiraiConsoleDriftBottle : KotlinPlugin( JvmPluginDescription( id = "io.github.samarium150.mirai.plugin.mirai-console-drift-bottle", name = "Drift Bottle", - version = "1.6.0", + version = "1.6.1", ) { author("Samarium150") info("简单的漂流瓶插件") diff --git a/src/main/kotlin/io/github/samarium150/mirai/plugin/driftbottle/command/ThrowAway.kt b/src/main/kotlin/io/github/samarium150/mirai/plugin/driftbottle/command/ThrowAway.kt index d8a16d5..b45bec6 100644 --- a/src/main/kotlin/io/github/samarium150/mirai/plugin/driftbottle/command/ThrowAway.kt +++ b/src/main/kotlin/io/github/samarium150/mirai/plugin/driftbottle/command/ThrowAway.kt @@ -77,6 +77,7 @@ object ThrowAway : SimpleCommand( if (GeneralConfig.enableContentCensor) runCatching { if (!ContentCensor.determine(chain)) { sendMessage(ReplyConfig.invalid) + unlock(sender.id) return } }.onFailure {