diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/listeners/PlotListener.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/listeners/PlotListener.java index 45f7724c5..1d7041b7c 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/listeners/PlotListener.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/listeners/PlotListener.java @@ -120,7 +120,9 @@ public class PlotListener extends APlotListener { if (size != 0) { Flag titleFlag = flags.get("titles"); - titles = (Boolean) titleFlag.getValue(); + if (titleFlag != null) { + titles = (Boolean) titleFlag.getValue(); + } Flag greetingFlag = flags.get("greeting"); if (greetingFlag != null) { greeting = (String) greetingFlag.getValue();