Skip to content
This repository has been archived by the owner on Jan 17, 2025. It is now read-only.

Commit

Permalink
reset the color before applying it
Browse files Browse the repository at this point in the history
  • Loading branch information
EmmaKnijn committed Aug 8, 2024
1 parent 3ef2cf5 commit 2e82293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/ct/pronouns/Pronouns.java
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public static String setPronouns(ServerCommandSource player,String pronoun1, Str
if (!validatePronoun(pronoun1) || !validatePronoun(pronoun2)) {
return "The pronouns that you provided are not settable by everyone. Please contact staff if you want these to be added manually.";
}
Objects.requireNonNull(TabAPI.getInstance().getTabListFormatManager()).setSuffix(TabAPI.getInstance().getPlayer(player.getName()), "&7[&r"+pronoun1+"/"+pronoun2+"&7]&r");
Objects.requireNonNull(TabAPI.getInstance().getTabListFormatManager()).setSuffix(TabAPI.getInstance().getPlayer(player.getName()), "&r&7[&r"+pronoun1+"/"+pronoun2+"&7]&r");
PlayerTable table = CtServer.getInstance().playerTable();
PlayerData pData = table.getPlayerData(Objects.requireNonNull(player.getPlayer()).getUuid());
if (pData == null) {
Expand Down

0 comments on commit 2e82293

Please sign in to comment.