mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-19 00:55:32 +01:00
Make sure can build checks in permbukkit/privileges work for admins/owners.
This commit is contained in:
parent
c6f25c0df6
commit
d72f831519
@ -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");
|
||||
}
|
||||
}
|
||||
|
@ -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");
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user