From 039c01b7b4dbc1eda31a646ff8a5352a7e05076d Mon Sep 17 00:00:00 2001 From: boy0001 Date: Sun, 1 Feb 2015 16:00:42 +1100 Subject: [PATCH] Potentially fixed. --- .../src/main/java/com/intellectualcrafters/plot/util/PWE.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/PWE.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/PWE.java index 61ddcbac3..15b97b7b6 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/PWE.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/PWE.java @@ -65,7 +65,7 @@ import com.sk89q.worldedit.regions.CuboidRegion; } boolean r = ((plot.getOwner() != null) && plot.getOwner().equals(UUIDHandler.getUUID(p))) || plot.helpers.contains(DBFunc.everyone) || plot.helpers.contains(UUIDHandler.getUUID(p)); if (r) { - final World w = p.getWorld(); + final World w = l.getWorld(); final Location bloc = PlotHelper.getPlotBottomLoc(w, plot.id); final Location tloc = PlotHelper.getPlotTopLoc(w, plot.id);