1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-29 17:29:56 +02:00

Make sure can build checks in permbukkit/privileges work for admins/owners.

This commit is contained in:
KHobbits
2012-04-01 02:44:11 +01:00
parent fd58d34692
commit c3ee344089
2 changed files with 2 additions and 2 deletions

View File

@@ -78,6 +78,6 @@ public class PermissionsBukkitHandler extends SuperpermsHandler
@Override
public boolean canBuild(Player base, String group)
{
return base.hasPermission("essentials.build") || base.hasPermission("permissions.build");
return hasPermission(base, "essentials.build") || hasPermission(base, "permissions.build");
}
}

View File

@@ -55,7 +55,7 @@ public class PrivilegesHandler extends SuperpermsHandler
@Override
public boolean canBuild(Player base, String group)
{
return base.hasPermission("essentials.build") || base.hasPermission("privileges.build");
return hasPermission(base, "essentials.build") || hasPermission(base, "privileges.build");
}
}