mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-10 18:40:15 +08:00
Fix plugin load
This commit is contained in:
parent
c5e68885c7
commit
c9ed804bf2
@ -128,7 +128,7 @@ internal object PluginManagerImpl : PluginManager, CoroutineScope by MiraiConsol
|
|||||||
|
|
||||||
internal fun loadAllPluginsUsingBuiltInLoaders() {
|
internal fun loadAllPluginsUsingBuiltInLoaders() {
|
||||||
for ((l, _, p) in findAndSortAllPluginsUsingBuiltInLoaders()) {
|
for ((l, _, p) in findAndSortAllPluginsUsingBuiltInLoaders()) {
|
||||||
l.load(p)
|
l.loadPluginNoEnable(p)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user