diff options
-rw-r--r-- | src/main/java/kr/syeyoung/dungeonsguide/features/impl/party/playerpreview/DataRendererTalismans.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/features/impl/party/playerpreview/DataRendererTalismans.java b/src/main/java/kr/syeyoung/dungeonsguide/features/impl/party/playerpreview/DataRendererTalismans.java index db17322d..d94ae506 100644 --- a/src/main/java/kr/syeyoung/dungeonsguide/features/impl/party/playerpreview/DataRendererTalismans.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/features/impl/party/playerpreview/DataRendererTalismans.java @@ -53,7 +53,9 @@ public class DataRendererTalismans implements DataRenderer { playerProfile.getAdditionalProperties().put("talismanCnt", cnts); } int[] rawData = (int[]) playerProfile.getAdditionalProperties().get("talismanCnt"); + String str = ""; + if (rawData != null) for (Rarity r : Rarity.values()) { str = r.color+rawData[r.idx] +" "+ str; } |