mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2024-11-22 10:36:06 +01:00
Fix finer permission checking filter
This commit is contained in:
parent
b434903739
commit
0cc1676e6c
@ -62,7 +62,7 @@ public class CorePermissionsChecker {
|
||||
|
||||
// TODO: Config whether to use finer permission
|
||||
return destination.getFinerPermissionSuffix()
|
||||
.filter(String::isBlank)
|
||||
.filter(finerPermissionSuffix -> !finerPermissionSuffix.isEmpty())
|
||||
.map(finerPermissionSuffix -> hasPermission(
|
||||
teleporter,
|
||||
concatPermission(permission, finerPermissionSuffix)
|
||||
|
Loading…
Reference in New Issue
Block a user