From f681be204a3a4ef888ce7e17471398a60b573484 Mon Sep 17 00:00:00 2001 From: KillerBossOriginal Date: Sat, 6 Jul 2024 17:00:13 +0200 Subject: [PATCH] Fixes --- src/commonMain/kotlin/App.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commonMain/kotlin/App.kt b/src/commonMain/kotlin/App.kt index 09ad407..0f20e46 100644 --- a/src/commonMain/kotlin/App.kt +++ b/src/commonMain/kotlin/App.kt @@ -2,7 +2,7 @@ package org.thundernetwork.permissionchecker fun checkSingle(permission: String, requiredPermission: String): Boolean { var answer = false - if (permission === "*") answer = true + if (permission == "*") answer = true else { val subRP = requiredPermission.split('.') val sub = permission.split('.')