Allow variables to be use in the default sidebar (like it says in the config)

This commit is contained in:
xTDKx 2015-02-15 19:30:15 -05:00
parent 1da7dbd25f
commit e6aa3116ac

View File

@ -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