diff options
author | syeyoung <cyong06@naver.com> | 2021-05-08 23:43:36 +0900 |
---|---|---|
committer | syeyoung <cyong06@naver.com> | 2021-05-08 23:43:36 +0900 |
commit | 12f90f5467f3a2f29339f68d997a5ac647c49db2 (patch) | |
tree | b6ef36d8ee4418fcadee9094284bc52055ee92d0 /src/main/java/kr/syeyoung/dungeonsguide/cosmetics | |
parent | 49e862742abbb43976f9a1b7974727139379d036 (diff) | |
download | Skyblock-Dungeons-Guide-12f90f5467f3a2f29339f68d997a5ac647c49db2.tar.gz Skyblock-Dungeons-Guide-12f90f5467f3a2f29339f68d997a5ac647c49db2.tar.bz2 Skyblock-Dungeons-Guide-12f90f5467f3a2f29339f68d997a5ac647c49db2.zip |
fix tablist not showing colors.
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/cosmetics')
-rw-r--r-- | src/main/java/kr/syeyoung/dungeonsguide/cosmetics/CustomNetworkPlayerInfo.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/cosmetics/CustomNetworkPlayerInfo.java b/src/main/java/kr/syeyoung/dungeonsguide/cosmetics/CustomNetworkPlayerInfo.java index ea2cb205..b113c745 100644 --- a/src/main/java/kr/syeyoung/dungeonsguide/cosmetics/CustomNetworkPlayerInfo.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/cosmetics/CustomNetworkPlayerInfo.java @@ -45,9 +45,9 @@ public class CustomNetworkPlayerInfo extends NetworkPlayerInfo { String actualName = ""; for (String s : semi_name.split(" ")) { if (TextUtils.stripColor(s).startsWith("[")) continue; - actualName = s; + actualName = TextUtils.stripColor(s); } - List<ActiveCosmetic> activeCosmetics = DungeonsGuide.getDungeonsGuide().getCosmeticsManager().getActiveCosmeticByPlayerNameLowerCase().get(TextUtils.stripColor(actualName).toLowerCase()); + List<ActiveCosmetic> activeCosmetics = DungeonsGuide.getDungeonsGuide().getCosmeticsManager().getActiveCosmeticByPlayerNameLowerCase().get(actualName.toLowerCase()); |