diff --git a/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/util/MessageScope.kt b/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/util/MessageScope.kt index eb95259d4..91309fbba 100644 --- a/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/util/MessageScope.kt +++ b/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/util/MessageScope.kt @@ -526,8 +526,8 @@ internal fun MessageScope.asSequence(): Sequence { } private class CombinedScope( - private val first: MessageScope, - private val second: MessageScope + val first: MessageScope, + val second: MessageScope, ) : MessageScope { override val realTarget: Any? get() = null @@ -549,7 +549,7 @@ private class CombinedScope( } private class CommandSenderAsMessageScope( - private val sender: CommandSender + private val sender: CommandSender, ) : MessageScope { override val realTarget: Any? get() = sender.user ?: sender // ConsoleCommandSender @@ -564,7 +564,7 @@ private class CommandSenderAsMessageScope( } private class ContactAsMessageScope( - private val sender: Contact + private val sender: Contact, ) : MessageScope { override val realTarget: Any? get() = sender