From 15c09371d54afe32753b3dce860791fe95a594e5 Mon Sep 17 00:00:00 2001 From: Him188 Date: Wed, 26 Aug 2020 23:28:39 +0800 Subject: [PATCH] Fix JvmPluginInternal.dataFolderPath --- .../mamoe/mirai/console/internal/plugin/JvmPluginInternal.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/internal/plugin/JvmPluginInternal.kt b/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/internal/plugin/JvmPluginInternal.kt index c89337b73..d138fb581 100644 --- a/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/internal/plugin/JvmPluginInternal.kt +++ b/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/internal/plugin/JvmPluginInternal.kt @@ -61,7 +61,7 @@ internal abstract class JvmPluginInternal( private var firstRun = true final override val dataFolderPath: Path by lazy { - PluginManager.pluginsPath.resolve(description.name).apply { mkdir() } + PluginManager.pluginsDataPath.resolve(description.name).apply { mkdir() } } internal fun internalOnDisable() {