This commit is contained in:
Jesse Boyd 2017-03-18 00:50:43 +11:00
parent 5262ff665a
commit a07ed4eafd
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -491,7 +491,7 @@ public class MainListener {
}
return true;
}
if (!plot1.isAdded(pp.getUUID()) || !Permissions.hasPermission(pp, C.PERMISSION_ADMIN_DESTROY_OTHER, true)) {
if (!plot1.isAdded(pp.getUUID()) && !Permissions.hasPermission(pp, C.PERMISSION_ADMIN_DESTROY_OTHER, true)) {
com.google.common.base.Optional<HashSet<PlotBlock>> destroy = plot1.getFlag(Flags.BREAK);
BlockState state = l.getBlock();
if (destroy.isPresent() && destroy.get().contains(SpongeUtil.getPlotBlock(state))) {