From 288b84bd6a791dc2e7aa23374a5364b39e92ba0f Mon Sep 17 00:00:00 2001 From: boy0001 Date: Thu, 2 Apr 2015 22:39:11 +1100 Subject: [PATCH] isAdded now checks owner --- PlotSquared/pom.xml | 2 +- .../java/com/intellectualcrafters/plot/object/PlotHandler.java | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/PlotSquared/pom.xml b/PlotSquared/pom.xml index 4a207dfc6..d47a65424 100644 --- a/PlotSquared/pom.xml +++ b/PlotSquared/pom.xml @@ -8,7 +8,7 @@ UTF-8 PlotSquared - 2.9.3 + 2.9.4 PlotSquared jar diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/object/PlotHandler.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/object/PlotHandler.java index 42127a5de..ecf722302 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/object/PlotHandler.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/object/PlotHandler.java @@ -79,6 +79,9 @@ public class PlotHandler { if (plot.owner == null) { return false; } + if (isOwner(plot, uuid)) { + return true; + } if (plot.denied.contains(uuid)) { return false; }