From 6c40ed77184896ebd7d579645397de5076c2a0f4 Mon Sep 17 00:00:00 2001 From: MattBDev Date: Fri, 27 May 2016 10:54:06 -0400 Subject: [PATCH] Fix Titles --- Core/src/main/java/com/plotsquared/listener/PlotListener.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Core/src/main/java/com/plotsquared/listener/PlotListener.java b/Core/src/main/java/com/plotsquared/listener/PlotListener.java index c5be669c2..243f55ced 100644 --- a/Core/src/main/java/com/plotsquared/listener/PlotListener.java +++ b/Core/src/main/java/com/plotsquared/listener/PlotListener.java @@ -54,7 +54,9 @@ public class PlotListener { return true; } } else { - titles = plot.getFlag(Flags.TITLES, true); + if (Settings.TITLES) { + titles = plot.getFlag(Flags.TITLES, true); + } Optional greetingFlag = plot.getFlag(Flags.GREETING); if (greetingFlag.isPresent()) { greeting = greetingFlag.get();