Fix Titles

This commit is contained in:
MattBDev 2016-05-27 10:54:06 -04:00
parent e615fb4c44
commit 6c40ed7718

View File

@ -54,7 +54,9 @@ public class PlotListener {
return true; return true;
} }
} else { } else {
if (Settings.TITLES) {
titles = plot.getFlag(Flags.TITLES, true); titles = plot.getFlag(Flags.TITLES, true);
}
Optional<String> greetingFlag = plot.getFlag(Flags.GREETING); Optional<String> greetingFlag = plot.getFlag(Flags.GREETING);
if (greetingFlag.isPresent()) { if (greetingFlag.isPresent()) {
greeting = greetingFlag.get(); greeting = greetingFlag.get();