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) { // ... } }