Replace colors for header and footer

This commit is contained in:
Nanit 2022-01-31 21:18:05 +02:00
parent aba8a6e1ed
commit 4c2ad07049

View File

@ -112,8 +112,8 @@ public final class LimboConfig {
playerListUsername = conf.node("playerList", "username").getString(); playerListUsername = conf.node("playerList", "username").getString();
if (useHeaderAndFooter) { if (useHeaderAndFooter) {
playerListHeader = conf.node("headerAndFooter", "header").getString(); playerListHeader = Colors.of(conf.node("headerAndFooter", "header").getString());
playerListFooter = conf.node("headerAndFooter", "footer").getString(); playerListFooter = Colors.of(conf.node("headerAndFooter", "footer").getString());
} }
infoForwarding = conf.node("infoForwarding").get(InfoForwarding.class); infoForwarding = conf.node("infoForwarding").get(InfoForwarding.class);