diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/bingo/card/BingoCardTips.kt | 4 |
1 files changed, 2 insertions, 2 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 b0a0cd42e..6ab2a9a5a 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,12 +27,12 @@ class BingoCardTips { val slot = gui.slotUnderMouse val goal = BingoAPI.bingoGoals.firstOrNull { it.slot == slot.slotNumber } ?: return - val toolTip = event.toolTip ?: return + val toolTip = event.toolTip val bingoTip = goal.getTip() ?: return val communityGoal = goal.type == GoalType.COMMUNITY val difficulty = Difficulty.valueOf(bingoTip.difficulty.uppercase()) - toolTip[0] = toolTip[0] + " §7(" + difficulty.displayName + "§7) ${goal.done}" + toolTip[0] = toolTip[0] + " §7(" + difficulty.displayName + "§7)" var index = if (!communityGoal) { toolTip.indexOf("§5§o§7Reward") |