mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-24 19:46:32 +01:00
Change #isPermissionSet to be more like the Bukkit impl
This commit is contained in:
parent
f7a0b1ef78
commit
02abb39dc2
@ -91,7 +91,7 @@ public class LPPermissible extends PermissibleBase {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isPermissionSet(@NonNull String name) {
|
public boolean isPermissionSet(@NonNull String name) {
|
||||||
return luckPermsPermissions.containsKey(name.toLowerCase()) || attachmentPermissions.containsKey(name.toLowerCase());
|
return calculator.getPermissionValue(name) != Tristate.UNDEFINED;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user