mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-07-28 08:24:09 +00:00
tweak title behavior to be more convenient
This commit is contained in:
parent
a6cd41fcb8
commit
feb746761c
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ public class PlotListener {
|
||||||
if (weatherFlag != null) {
|
if (weatherFlag != null) {
|
||||||
player.setPlayerWeather(getWeatherType(weatherFlag.getValueString()));
|
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 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));
|
final String sTitleSub = C.TITLE_ENTERED_PLOT_SUB.s().replaceFirst("%s", getName(plot.owner));
|
||||||
if (AbstractTitle.TITLE_CLASS != null) {
|
if (AbstractTitle.TITLE_CLASS != null) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue