From 5cfaef0fcde820089228fc2b8ae3e7b9f1d5d88b Mon Sep 17 00:00:00 2001 From: Him188 Date: Tue, 8 Sep 2020 21:29:30 +0800 Subject: [PATCH] Use 'Console' for dataHolderName for builtins --- .../mirai/console/internal/data/builtins/ConsoleDataScope.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/internal/data/builtins/ConsoleDataScope.kt b/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/internal/data/builtins/ConsoleDataScope.kt index 37899e3d5..61463c6c1 100644 --- a/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/internal/data/builtins/ConsoleDataScope.kt +++ b/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/internal/data/builtins/ConsoleDataScope.kt @@ -42,13 +42,13 @@ internal object ConsoleDataScope : CoroutineScope by MiraiConsole.childScope("Co internal object ConsoleBuiltInPluginDataHolder : AutoSavePluginDataHolder, CoroutineScope by ConsoleDataScope.childScope("ConsoleBuiltInPluginDataHolder") { override val autoSaveIntervalMillis: LongRange = 1.minutesToMillis..10.minutesToMillis - override val dataHolderName: String get() = "ConsoleBuiltIns" + override val dataHolderName: String get() = "Console" } internal object ConsoleBuiltInPluginConfigHolder : AutoSavePluginDataHolder, CoroutineScope by ConsoleDataScope.childScope("ConsoleBuiltInPluginConfigHolder") { override val autoSaveIntervalMillis: LongRange = 1.minutesToMillis..10.minutesToMillis - override val dataHolderName: String get() = "ConsoleBuiltIns" + override val dataHolderName: String get() = "Console" } internal object ConsoleBuiltInPluginDataStorage :