From 26ebfc47e0343dded140bd3b32381bde355bd20c Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Fri, 1 Dec 2023 13:10:58 +0100 Subject: Added support for the community goal suffix. --- .../java/at/hannibal2/skyhanni/data/jsonobjects/repo/BingoJson.java | 2 ++ src/main/java/at/hannibal2/skyhanni/features/bingo/BingoCardTips.kt | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'src/main/java') 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 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") } } -- cgit