1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-07 07:06:41 +02:00

Make it so ops can build, even if they don't have the matching permission.

This commit is contained in:
KHobbits
2012-02-02 10:43:17 +00:00
parent 722c3d27de
commit c96e691af6

View File

@@ -544,6 +544,10 @@ public class User extends UserData implements Comparable<User>, IReplyTo, IUser
public boolean canBuild()
{
if (isOp())
{
return true;
}
return ess.getPermissionsHandler().canBuild(base, getGroup());
}