mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-05 07:57:59 +01:00
Make it so ops can build, even if they don't have the matching permission.
This commit is contained in:
parent
4326ce0d4a
commit
86a1dda46c
@ -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());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user