From e0b07aa2a016b533e93c7fa1569f6b9c1dc40970 Mon Sep 17 00:00:00 2001 From: RednedEpic Date: Fri, 27 Dec 2024 11:21:49 -0600 Subject: [PATCH] Improve team placeholder names for consistency --- .../arena/module/placeholderapi/BattleArenaExpansion.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/placeholderapi-integration/src/main/java/org/battleplugins/arena/module/placeholderapi/BattleArenaExpansion.java b/module/placeholderapi-integration/src/main/java/org/battleplugins/arena/module/placeholderapi/BattleArenaExpansion.java index 063730bb..ba910f71 100644 --- a/module/placeholderapi-integration/src/main/java/org/battleplugins/arena/module/placeholderapi/BattleArenaExpansion.java +++ b/module/placeholderapi-integration/src/main/java/org/battleplugins/arena/module/placeholderapi/BattleArenaExpansion.java @@ -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();