Skip to content

Commit

Permalink
feat(papi): expose player tab tag
Browse files Browse the repository at this point in the history
  • Loading branch information
darksaid98 committed Jul 14, 2024
1 parent 1631ea9 commit a423fdd
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ public boolean persist() {
yield colorHandler.getPlayerPrefix(p);
yield "";
}
case "player_tab" -> {
if (colorHandler.isPlayerUsingModifiedName(p))
yield colorHandler.getPlayerTabNameColor(p);
yield "";
}
case "player_tablist" -> {
if (colorHandler.isPlayerUsingModifiedName(p))
yield colorHandler.getPlayerTabNameColor(p) + "%essentials_nickname_stripped%";
Expand Down

0 comments on commit a423fdd

Please sign in to comment.