From feb746761caccfcfec08ac31440228ec8156e15b Mon Sep 17 00:00:00 2001 From: boy0001 Date: Sat, 7 Mar 2015 01:01:54 +1100 Subject: [PATCH] tweak title behavior to be more convenient --- .../com/intellectualcrafters/plot/listeners/PlotListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 d82a743f8..549fed1e5 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/listeners/PlotListener.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/listeners/PlotListener.java @@ -178,7 +178,7 @@ public class PlotListener { if (weatherFlag != null) { player.setPlayerWeather(getWeatherType(weatherFlag.getValueString())); } - if ((booleanFlag(plot, "titles", false) || Settings.TITLES) && (C.TITLE_ENTERED_PLOT.s().length() > 2)) { + if ((booleanFlag(plot, "titles", Settings.TITLES)) && (C.TITLE_ENTERED_PLOT.s().length() > 2)) { final String sTitleMain = C.TITLE_ENTERED_PLOT.s().replaceAll("%x%", plot.id.x + "").replaceAll("%z%", plot.id.y + "").replaceAll("%world%", plot.world + ""); final String sTitleSub = C.TITLE_ENTERED_PLOT_SUB.s().replaceFirst("%s", getName(plot.owner)); if (AbstractTitle.TITLE_CLASS != null) {