Fixes
This commit is contained in:
parent
999bf0aebc
commit
f681be204a
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ package org.thundernetwork.permissionchecker
|
||||||
|
|
||||||
fun checkSingle(permission: String, requiredPermission: String): Boolean {
|
fun checkSingle(permission: String, requiredPermission: String): Boolean {
|
||||||
var answer = false
|
var answer = false
|
||||||
if (permission === "*") answer = true
|
if (permission == "*") answer = true
|
||||||
else {
|
else {
|
||||||
val subRP = requiredPermission.split('.')
|
val subRP = requiredPermission.split('.')
|
||||||
val sub = permission.split('.')
|
val sub = permission.split('.')
|
||||||
|
|
Loading…
Reference in a new issue