From e3aceec0b4175ef0b47ed9579fe7a31f2d89ef92 Mon Sep 17 00:00:00 2001 From: Him188 Date: Tue, 10 Nov 2020 08:57:25 +0800 Subject: [PATCH] Use super.description for JCompositeCommand.description --- backend/mirai-console/src/command/java/JCompositeCommand.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/mirai-console/src/command/java/JCompositeCommand.kt b/backend/mirai-console/src/command/java/JCompositeCommand.kt index aecefc529..aba439d1c 100644 --- a/backend/mirai-console/src/command/java/JCompositeCommand.kt +++ b/backend/mirai-console/src/command/java/JCompositeCommand.kt @@ -77,7 +77,7 @@ public abstract class JCompositeCommand parentPermission: Permission = owner.parentPermission, ) : CompositeCommand(owner, primaryName, secondaryNames = secondaryNames, parentPermission = parentPermission) { /** 指令描述, 用于显示在 [BuiltInCommands.HelpCommand] */ - public final override var description: String = "" + public final override var description: String = super.description protected set public final override var permission: Permission = super.permission