mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-04 03:25:50 +00: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
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue