mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-06-24 18:01:25 +02:00
tweak title behavior to be more convenient
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user