1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-13 18:14:38 +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 c764420e84
commit 65b24efcb3

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