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:
Sleaker 2012-01-02 10:15:55 -08:00
parent 66049f852e
commit 1a763d7d5e

View File

@ -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);
}