mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 13:16:45 +01:00
parent
82b17aeebf
commit
291c290f15
@ -1288,7 +1288,8 @@ public class PlotMain extends JavaPlugin {
|
|||||||
"invincible",
|
"invincible",
|
||||||
"instabreak",
|
"instabreak",
|
||||||
"drop-protection",
|
"drop-protection",
|
||||||
"forcefield"
|
"forcefield",
|
||||||
|
"titles"
|
||||||
);
|
);
|
||||||
List<String> intervalFlags = Arrays.asList(
|
List<String> intervalFlags = Arrays.asList(
|
||||||
"feed",
|
"feed",
|
||||||
|
@ -176,7 +176,7 @@ public class PlotListener {
|
|||||||
if(plot.settings.getFlag("weather") != null) {
|
if(plot.settings.getFlag("weather") != null) {
|
||||||
player.setPlayerWeather(getWeatherType(plot.settings.getFlag("weather").getValue()));
|
player.setPlayerWeather(getWeatherType(plot.settings.getFlag("weather").getValue()));
|
||||||
}
|
}
|
||||||
if (Settings.TITLES && C.TITLE_ENTERED_PLOT.s().length() > 2) {
|
if (booleanFlag(plot, "titles") && Settings.TITLES && C.TITLE_ENTERED_PLOT.s().length() > 2) {
|
||||||
String sTitleMain = C.TITLE_ENTERED_PLOT.s().replaceFirst("%s", plot.getDisplayName());
|
String sTitleMain = C.TITLE_ENTERED_PLOT.s().replaceFirst("%s", plot.getDisplayName());
|
||||||
String sTitleSub = C.TITLE_ENTERED_PLOT_SUB.s().replaceFirst("%s", getName(plot.owner));
|
String sTitleSub = C.TITLE_ENTERED_PLOT_SUB.s().replaceFirst("%s", getName(plot.owner));
|
||||||
ChatColor sTitleMainColor = ChatColor.valueOf(C.TITLE_ENTERED_PLOT_COLOR.s());
|
ChatColor sTitleMainColor = ChatColor.valueOf(C.TITLE_ENTERED_PLOT_COLOR.s());
|
||||||
|
Loading…
Reference in New Issue
Block a user