Potentially fixed.

This commit is contained in:
boy0001 2015-02-01 16:00:42 +11:00
parent bbca07b9d7
commit 039c01b7b4

View File

@ -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)); boolean r = ((plot.getOwner() != null) && plot.getOwner().equals(UUIDHandler.getUUID(p))) || plot.helpers.contains(DBFunc.everyone) || plot.helpers.contains(UUIDHandler.getUUID(p));
if (r) { if (r) {
final World w = p.getWorld(); final World w = l.getWorld();
final Location bloc = PlotHelper.getPlotBottomLoc(w, plot.id); final Location bloc = PlotHelper.getPlotBottomLoc(w, plot.id);
final Location tloc = PlotHelper.getPlotTopLoc(w, plot.id); final Location tloc = PlotHelper.getPlotTopLoc(w, plot.id);