From 488dbb0a63cf9ba0d77d3ce8cb2f19aa1626bb79 Mon Sep 17 00:00:00 2001 From: boy0001 Date: Tue, 21 Jul 2015 14:48:07 +1000 Subject: [PATCH] Fixed issue with BlockFromTo and plot clusters in augmented worlds --- .../com/intellectualcrafters/plot/listeners/PlayerEvents.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/intellectualcrafters/plot/listeners/PlayerEvents.java b/src/main/java/com/intellectualcrafters/plot/listeners/PlayerEvents.java index 5d984e692..1452a27dc 100644 --- a/src/main/java/com/intellectualcrafters/plot/listeners/PlayerEvents.java +++ b/src/main/java/com/intellectualcrafters/plot/listeners/PlayerEvents.java @@ -869,7 +869,7 @@ public class PlayerEvents extends com.intellectualcrafters.plot.listeners.PlotLi } else { Plot plot = MainUtil.getPlot(loc); - if (FlagManager.isPlotFlagTrue(plot, "disable-physics")) { + if (plot != null && FlagManager.isPlotFlagTrue(plot, "disable-physics")) { e.setCancelled(true); } }