From f119f6996d4df0d6510a775cc04fcf9f6d111d24 Mon Sep 17 00:00:00 2001 From: boy0001 Date: Tue, 13 Jan 2015 03:12:58 +1100 Subject: [PATCH] Fix for /plot weanywhere --- .../intellectualcrafters/plot/listeners/WorldEditListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/listeners/WorldEditListener.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/listeners/WorldEditListener.java index 036ee3e3f..7819c8534 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/listeners/WorldEditListener.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/listeners/WorldEditListener.java @@ -211,7 +211,7 @@ import java.util.Set; if ((f.getBlockX() != t.getBlockX()) || (f.getBlockZ() != t.getBlockZ())) { final PlotId idF = PlayerFunctions.getPlot(f); final PlotId idT = PlayerFunctions.getPlot(t); - if (PlotMain.hasPermission(e.getPlayer(), "plots.worldedit.bypass")) { + if ((!PWE.hasMask(e.getPlayer())) && PlotMain.hasPermission(e.getPlayer(), "plots.worldedit.bypass")) { return; } if ((idT != null) && !(idF == idT)) {