From 29784625e919e424d27a6dfb645e30236689fc73 Mon Sep 17 00:00:00 2001 From: cssxsh Date: Mon, 24 Apr 2023 11:19:53 +0800 Subject: [PATCH] feat: device info reset --- src/main/kotlin/xyz/cssxsh/mirai/device/MiraiDeviceReset.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/xyz/cssxsh/mirai/device/MiraiDeviceReset.kt b/src/main/kotlin/xyz/cssxsh/mirai/device/MiraiDeviceReset.kt index d4fd5b0..50627b0 100644 --- a/src/main/kotlin/xyz/cssxsh/mirai/device/MiraiDeviceReset.kt +++ b/src/main/kotlin/xyz/cssxsh/mirai/device/MiraiDeviceReset.kt @@ -26,7 +26,7 @@ public object MiraiDeviceReset : SimpleListenerHost() { if (success) { bot.logger.info { "device.json 可能已经被拉黑, 将重新生成,请稍后重新尝试手动重新登陆" } } - } catch (_: ClassNotFoundException) { + } catch (_: NoClassDefFoundError) { // ... } }