diff options
author | syeyoung <cyoung06@naver.com> | 2023-01-24 16:05:51 +0900 |
---|---|---|
committer | syeyoung <cyoung06@naver.com> | 2023-01-24 16:05:51 +0900 |
commit | 99a5cfd8d005823c74ac6defb7e42210bb2a9fdb (patch) | |
tree | b5c4ebfc54df6e5c0773efe4194b3dbf089d23d1 /mod/src | |
parent | 41551be10446e811228321532eaf5df0e18641fc (diff) | |
download | Skyblock-Dungeons-Guide-99a5cfd8d005823c74ac6defb7e42210bb2a9fdb.tar.gz Skyblock-Dungeons-Guide-99a5cfd8d005823c74ac6defb7e42210bb2a9fdb.tar.bz2 Skyblock-Dungeons-Guide-99a5cfd8d005823c74ac6defb7e42210bb2a9fdb.zip |
- revert default prefix
Signed-off-by: syeyoung <cyoung06@naver.com>
Diffstat (limited to 'mod/src')
-rw-r--r-- | mod/src/main/java/kr/syeyoung/dungeonsguide/mod/cosmetics/CosmeticsManager.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/cosmetics/CosmeticsManager.java b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/cosmetics/CosmeticsManager.java index 707a4a20..b396750d 100644 --- a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/cosmetics/CosmeticsManager.java +++ b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/cosmetics/CosmeticsManager.java @@ -273,7 +273,7 @@ public class CosmeticsManager { if (replacementContext.getUsername().isEmpty()) continue; List<ActiveCosmetic> activeCosmetics = getActiveCosmeticByPlayerNameLowerCase() .get(replacementContext.getUsername().toLowerCase()); - String color=null, prefix="[coolprefix]"; + String color=null, prefix=null; if (activeCosmetics != null) { for (ActiveCosmetic activeCosmetic : activeCosmetics) { CosmeticData cosmeticData = getCosmeticDataMap().get(activeCosmetic.getCosmeticData()); @@ -306,10 +306,7 @@ public class CosmeticsManager { int idx = allIdxes.stream() .min(Comparator.comparingInt(a -> Math.abs(a - replacementContext.getNearIdx()))).orElse(-1); - System.out.println("Was expecting to find " +replacementContext.getUsername()); if (idx == -1) { - System.out.println("WTF?"); - List<IChatComponent> components = SurgicalReplacer.inject(chatComponents, SurgicalReplacer.linearifyMoveColorCharToStyle( new ChatComponentText(prefix+" ") |