From e244235350dc596b3b9a0eeb573c5e13e9d07539 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Mon, 30 Apr 2018 06:20:41 +1000 Subject: [PATCH] Fixes #765 --- .../boydti/fawe/regions/general/plot/PlotSquaredFeature.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/com/boydti/fawe/regions/general/plot/PlotSquaredFeature.java b/core/src/main/java/com/boydti/fawe/regions/general/plot/PlotSquaredFeature.java index 0b32c1e1..ca1360d4 100644 --- a/core/src/main/java/com/boydti/fawe/regions/general/plot/PlotSquaredFeature.java +++ b/core/src/main/java/com/boydti/fawe/regions/general/plot/PlotSquaredFeature.java @@ -161,6 +161,8 @@ public class PlotSquaredFeature extends FaweMaskManager { @Override public RegionFilter getFilter(String world) { - return new PlotRegionFilter(PS.get().getPlotArea(world, null)); + PlotArea area = PS.get().getPlotArea(world, null); + if (area != null) return new PlotRegionFilter(area); + return null; } }