mirror of
https://github.com/MilkBowl/Vault.git
synced 2024-11-10 21:01:03 +01:00
let bPermissions handle any string permission resolution instead of
attempting to deal with null world - he should handle it himself.
This commit is contained in:
parent
66049f852e
commit
1a763d7d5e
@ -74,13 +74,6 @@ public class Permission_bPermissions extends Permission {
|
||||
|
||||
@Override
|
||||
public boolean playerHas(String world, String player, String permission) {
|
||||
if (world == null)
|
||||
return false;
|
||||
|
||||
PermissionSet set = perms.getPermissionSet(world);
|
||||
if (set == null)
|
||||
return false;
|
||||
|
||||
return HasPermission.has(player, world, permission);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user