aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-12-06 02:16:33 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-12-06 02:16:33 +0100
commitb1ac7a5188c1af96007ece2082732e1c3fb37bbd (patch)
tree2b1306d523f7bff7a1424a84f9503d4819ba594b /src/main/java/at/hannibal2
parent51420aa83028ae57d15006750a60c2265825acd3 (diff)
downloadskyhanni-b1ac7a5188c1af96007ece2082732e1c3fb37bbd.tar.gz
skyhanni-b1ac7a5188c1af96007ece2082732e1c3fb37bbd.tar.bz2
skyhanni-b1ac7a5188c1af96007ece2082732e1c3fb37bbd.zip
Added fix if the toolTip is empty.
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/bingo/card/BingoCardTips.kt2
1 files changed, 1 insertions, 1 deletions
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