mirror of
https://github.com/MassiveCraft/Factions.git
synced 2024-11-27 12:46:09 +01:00
Allow variables to be use in the default sidebar (like it says in the config)
This commit is contained in:
parent
1da7dbd25f
commit
e6aa3116ac
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user