mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-07 16:40:43 +08:00
fix only dependency are loaded
This commit is contained in:
parent
0eb4f58da0
commit
620f100da1
@ -12,8 +12,8 @@ import org.gradle.kotlin.dsl.DependencyHandlerScope
|
||||
object Versions {
|
||||
object Mirai {
|
||||
const val core = "0.31.0"
|
||||
const val console = "0.4.0"
|
||||
const val consoleGraphical = "0.0.4"
|
||||
const val console = "0.4.1"
|
||||
const val consoleGraphical = "0.0.5"
|
||||
const val consoleWrapper = "0.2.0"
|
||||
}
|
||||
|
||||
|
@ -151,7 +151,7 @@ object PluginManager {
|
||||
}
|
||||
val depend = pluginsFound[dependent]!!
|
||||
|
||||
if (loadPlugin(depend)) {
|
||||
if (!loadPlugin(depend)) {
|
||||
logger.error("Failed to load plugin " + description.name + " because " + dependent + " as dependency failed to load")
|
||||
return false
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user