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:
@@ -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());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user