From 075a2bd519b24bac86337bc57066b472dc9bc551 Mon Sep 17 00:00:00 2001 From: Him188 Date: Fri, 23 Oct 2020 12:54:36 +0800 Subject: [PATCH] Add ResolveContext to JvmPluginDescriptionBuilder.id --- .../net/mamoe/mirai/console/plugin/jvm/JvmPluginDescription.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/plugin/jvm/JvmPluginDescription.kt b/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/plugin/jvm/JvmPluginDescription.kt index 8a08a4cb7..2585888ff 100644 --- a/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/plugin/jvm/JvmPluginDescription.kt +++ b/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/plugin/jvm/JvmPluginDescription.kt @@ -97,7 +97,7 @@ public interface JvmPluginDescription : PluginDescription { * @see [JvmPluginDescription.invoke] */ public class JvmPluginDescriptionBuilder( - private var id: String, + @ResolveContext(PLUGIN_ID) private var id: String, private var version: SemVersion, ) { public constructor(