forked from SteamWar/SteamWar
Format code
This commit is contained in:
@@ -56,7 +56,8 @@ class TNTLeague : JavaPlugin() {
|
||||
}
|
||||
}
|
||||
|
||||
fun String.colorByTeam(team: TNTLeagueTeam?) = when (team) {
|
||||
null -> "§7${this}"
|
||||
else -> "§${team.color}${this}"
|
||||
}
|
||||
fun String.colorByTeam(team: TNTLeagueTeam?) =
|
||||
when (team) {
|
||||
null -> "§7${this}"
|
||||
else -> "§${team.color}${this}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user