mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-10 00:28:22 +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()
|
public boolean canBuild()
|
||||||
{
|
{
|
||||||
|
if (isOp())
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
return ess.getPermissionsHandler().canBuild(base, getGroup());
|
return ess.getPermissionsHandler().canBuild(base, getGroup());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user