Fixed issue with BlockFromTo and plot clusters in augmented worlds

This commit is contained in:
boy0001 2015-07-21 14:48:07 +10:00
parent 0c81dd82b3
commit 488dbb0a63

View File

@ -869,7 +869,7 @@ public class PlayerEvents extends com.intellectualcrafters.plot.listeners.PlotLi
} }
else { else {
Plot plot = MainUtil.getPlot(loc); Plot plot = MainUtil.getPlot(loc);
if (FlagManager.isPlotFlagTrue(plot, "disable-physics")) { if (plot != null && FlagManager.isPlotFlagTrue(plot, "disable-physics")) {
e.setCancelled(true); e.setCancelled(true);
} }
} }