This commit is contained in:
Jesse Boyd
2015-11-15 13:51:28 +11:00
parent ab5e826fe8
commit 9218147aa0
3 changed files with 4 additions and 1 deletions

View File

@ -1032,7 +1032,7 @@ public class PlayerEvents extends com.plotsquared.listener.PlotListener implemen
return;
}
Location loc = BukkitUtil.getLocation(blocks.get(0).getLocation());
final Plot origin = MainUtil.getPlot(loc);
final Plot origin = MainUtil.getPlot(loc);
if (origin == null) {
if (MainUtil.isPlotAreaAbs(loc)) {
e.setCancelled(true);