From c9ed804bf2d09d456f6605f9de1a2c398a2f86e0 Mon Sep 17 00:00:00 2001 From: Him188 Date: Sat, 12 Sep 2020 19:34:28 +0800 Subject: [PATCH] Fix plugin load --- .../mamoe/mirai/console/internal/plugin/PluginManagerImpl.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/internal/plugin/PluginManagerImpl.kt b/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/internal/plugin/PluginManagerImpl.kt index 8694bb37b..fef019555 100644 --- a/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/internal/plugin/PluginManagerImpl.kt +++ b/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/internal/plugin/PluginManagerImpl.kt @@ -128,7 +128,7 @@ internal object PluginManagerImpl : PluginManager, CoroutineScope by MiraiConsol internal fun loadAllPluginsUsingBuiltInLoaders() { for ((l, _, p) in findAndSortAllPluginsUsingBuiltInLoaders()) { - l.load(p) + l.loadPluginNoEnable(p) } }