Skip to content

Commit

Permalink
Improve team placeholder names for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
Redned235 committed Dec 27, 2024
1 parent 1f81cf0 commit e0b07aa
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,14 @@ public BattleArenaExpansion(BattleArena plugin) {
return Util.serializeToLegacy(teamColor);
}
}
case "formatted_team_name": {
case "team_name_formatted": {
ArenaTeam team = arenaPlayer.getTeam();
if (team != null) {
Component teamName = team.getFormattedName();
return Messages.wrap(teamName).asPlainText();
}
}
case "formatted_team_name_legacy": {
case "team_name_formatted_legacy": {
ArenaTeam team = arenaPlayer.getTeam();
if (team != null) {
Component teamName = team.getFormattedName();
Expand Down

0 comments on commit e0b07aa

Please sign in to comment.