From a07ed4eafdf9dbc31590f39c1e0591742c5edd7e Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Sat, 18 Mar 2017 00:50:43 +1100 Subject: [PATCH] * --- .../main/java/com/plotsquared/sponge/listener/MainListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sponge/src/main/java/com/plotsquared/sponge/listener/MainListener.java b/Sponge/src/main/java/com/plotsquared/sponge/listener/MainListener.java index 144e5f520..65425f844 100644 --- a/Sponge/src/main/java/com/plotsquared/sponge/listener/MainListener.java +++ b/Sponge/src/main/java/com/plotsquared/sponge/listener/MainListener.java @@ -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> destroy = plot1.getFlag(Flags.BREAK); BlockState state = l.getBlock(); if (destroy.isPresent() && destroy.get().contains(SpongeUtil.getPlotBlock(state))) {