diff --git a/mirai-console-graphical/src/main/kotlin/net/mamoe/mirai/console/graphical/controller/MiraiGraphicalUIController.kt b/mirai-console-graphical/src/main/kotlin/net/mamoe/mirai/console/graphical/controller/MiraiGraphicalUIController.kt index 5b493625e..0aaa4501a 100644 --- a/mirai-console-graphical/src/main/kotlin/net/mamoe/mirai/console/graphical/controller/MiraiGraphicalUIController.kt +++ b/mirai-console-graphical/src/main/kotlin/net/mamoe/mirai/console/graphical/controller/MiraiGraphicalUIController.kt @@ -33,9 +33,9 @@ class MiraiGraphicalUIController : Controller(), MiraiConsoleUI { val botList = observableListOf() val pluginList: ObservableList by lazy(::getPluginsFromConsole) - val consoleInfo = ConsoleInfo() + private val consoleInfo = ConsoleInfo() - val sdf by lazy { + private val sdf by lazy { SimpleDateFormat("HH:mm:ss") } diff --git a/mirai-console-wrapper/src/main/kotlin/net/mamoe/mirai/console/wrapper/CoreUpdater.kt b/mirai-console-wrapper/src/main/kotlin/net/mamoe/mirai/console/wrapper/CoreUpdater.kt index f604d1f05..1672234c2 100644 --- a/mirai-console-wrapper/src/main/kotlin/net/mamoe/mirai/console/wrapper/CoreUpdater.kt +++ b/mirai-console-wrapper/src/main/kotlin/net/mamoe/mirai/console/wrapper/CoreUpdater.kt @@ -111,7 +111,6 @@ internal object CoreUpdater { } } */ - }