aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide
diff options
context:
space:
mode:
authorsyeyoung <cyong06@naver.com>2021-05-08 23:43:36 +0900
committersyeyoung <cyong06@naver.com>2021-05-08 23:43:36 +0900
commit12f90f5467f3a2f29339f68d997a5ac647c49db2 (patch)
treeb6ef36d8ee4418fcadee9094284bc52055ee92d0 /src/main/java/kr/syeyoung/dungeonsguide
parent49e862742abbb43976f9a1b7974727139379d036 (diff)
downloadSkyblock-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')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/cosmetics/CustomNetworkPlayerInfo.java4
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());