From e6aa3116ac36496c84ed2e36e407710da512fa09 Mon Sep 17 00:00:00 2001 From: xTDKx Date: Sun, 15 Feb 2015 19:30:15 -0500 Subject: [PATCH] Allow variables to be use in the default sidebar (like it says in the config) --- .../factions/scoreboards/sidebar/FDefaultSidebar.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/massivecraft/factions/scoreboards/sidebar/FDefaultSidebar.java b/src/main/java/com/massivecraft/factions/scoreboards/sidebar/FDefaultSidebar.java index da4b1edf..970464a4 100644 --- a/src/main/java/com/massivecraft/factions/scoreboards/sidebar/FDefaultSidebar.java +++ b/src/main/java/com/massivecraft/factions/scoreboards/sidebar/FDefaultSidebar.java @@ -16,7 +16,7 @@ public class FDefaultSidebar extends FSidebarProvider { @Override public String getTitle(FPlayer fplayer) { - return ChatColor.translateAlternateColorCodes('&', P.p.getConfig().getString("scoreboard.default-title", "i love drt")); + return replace(fplayer, P.p.getConfig().getString("scoreboard.default-title", "i love drt")); } @Override