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
|
@Override
|
||||||
public String getTitle(FPlayer fplayer) {
|
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
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user