This commit is contained in:
Jesse Boyd 2017-08-21 23:43:54 +10:00
parent a73e44c88c
commit e395c11572
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -82,7 +82,7 @@ public class PlotSquaredFeature extends FaweMaskManager {
return false;
}
UUID uid = fp.getUUID();
return (plot.isOwner(uid) || (type == MaskType.MEMBER && (plot.getTrusted().contains(uid) || (plot.getMembers().contains(uid) && fp.hasPermission("fawe.plotsquared.member")))));
return (plot.isOwner(uid) || (type == MaskType.MEMBER && (plot.getTrusted().contains(uid) || (plot.getMembers().contains(uid) && fp.hasPermission("fawe.plotsquared.member"))))) || fp.hasPermission("fawe.plotsquared.admin");
}
@Override