From d3e3db96626229e26abad2d6d0f78d9bb4dae9a1 Mon Sep 17 00:00:00 2001 From: Him188 Date: Wed, 9 Sep 2020 22:00:06 +0800 Subject: [PATCH] (internal) Use MutableList for grantedPermissionMap --- .../mirai/console/permission/BuiltInPermissionServices.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/permission/BuiltInPermissionServices.kt b/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/permission/BuiltInPermissionServices.kt index 28a7d421e..7cd656046 100644 --- a/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/permission/BuiltInPermissionServices.kt +++ b/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/permission/BuiltInPermissionServices.kt @@ -129,8 +129,8 @@ internal object BuiltInPermissionService : AbstractConcurrentPermissionService

> - by value>>(ConcurrentHashMap()) + public val grantedPermissionMap: MutableMap> + by value>>(ConcurrentHashMap()) .withDefault { CopyOnWriteArrayList() } public companion object {