From b1ac7a5188c1af96007ece2082732e1c3fb37bbd Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Wed, 6 Dec 2023 02:16:33 +0100 Subject: Added fix if the toolTip is empty. --- .../java/at/hannibal2/skyhanni/features/bingo/card/BingoCardTips.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/at') diff --git a/src/main/java/at/hannibal2/skyhanni/features/bingo/card/BingoCardTips.kt b/src/main/java/at/hannibal2/skyhanni/features/bingo/card/BingoCardTips.kt index 2e1af0d1a..a8d62579c 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/bingo/card/BingoCardTips.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/bingo/card/BingoCardTips.kt @@ -27,7 +27,7 @@ class BingoCardTips { val slot = gui.slotUnderMouse val goal = BingoAPI.bingoGoals.firstOrNull { it.slot == slot.slotNumber } ?: return - val toolTip = event.toolTip + val toolTip = event.toolTip ?: return val bingoTip = goal.getTip() ?: return val communityGoal = goal.type == GoalType.COMMUNITY -- cgit