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);