diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-01 13:10:58 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-01 13:10:58 +0100 |
commit | 26ebfc47e0343dded140bd3b32381bde355bd20c (patch) | |
tree | cd2576b99419f439d643d2a3ff428a72fc8b8a31 /src/main/java | |
parent | 1d67ee3683080cdf0807350288fdb0670027e321 (diff) | |
download | skyhanni-26ebfc47e0343dded140bd3b32381bde355bd20c.tar.gz skyhanni-26ebfc47e0343dded140bd3b32381bde355bd20c.tar.bz2 skyhanni-26ebfc47e0343dded140bd3b32381bde355bd20c.zip |
Added support for the community goal suffix.
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/jsonobjects/repo/BingoJson.java | 2 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/bingo/BingoCardTips.kt | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/jsonobjects/repo/BingoJson.java b/src/main/java/at/hannibal2/skyhanni/data/jsonobjects/repo/BingoJson.java index eb0fe5e40..babe7cc9e 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/jsonobjects/repo/BingoJson.java +++ b/src/main/java/at/hannibal2/skyhanni/data/jsonobjects/repo/BingoJson.java @@ -15,5 +15,7 @@ public class BingoJson { @Expose public List<String> note; + @Expose + public String found; } } diff --git a/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoCardTips.kt b/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoCardTips.kt index 4b5bca2e5..4ff74a309 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoCardTips.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoCardTips.kt @@ -47,7 +47,10 @@ class BingoCardTips { toolTip.add(index++, "") toolTip.add(index++, "§eGuide:") for (line in bingoTip.note) { - toolTip.add(index++, line) + toolTip.add(index++, " $line") + } + bingoTip.found?.let { + toolTip.add(index++, "§7Found by: §e$it") } } |