aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/bingo
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-05-11 12:43:44 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-05-11 12:43:44 +0200
commitc3caf0b538747d46d02f38a2d2182c821ef1b0f0 (patch)
tree0937fa184e3cbd7f03f41a9b037446db61673e6e /src/main/java/at/hannibal2/skyhanni/features/bingo
parenteaa9df9d3242d3df86000d302f38bc73fa941db4 (diff)
downloadskyhanni-c3caf0b538747d46d02f38a2d2182c821ef1b0f0.tar.gz
skyhanni-c3caf0b538747d46d02f38a2d2182c821ef1b0f0.tar.bz2
skyhanni-c3caf0b538747d46d02f38a2d2182c821ef1b0f0.zip
Added support for lower case names and common typos in /shtrackcollection
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/bingo')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/bingo/BingoNextStepHelper.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoNextStepHelper.kt b/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoNextStepHelper.kt
index d181caa3a..d5b1c5144 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoNextStepHelper.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoNextStepHelper.kt
@@ -183,7 +183,7 @@ class BingoNextStepHelper {
}
}
if (step is CollectionStep) {
- val counter = CollectionAPI.getCollectionCounter(step.collectionName)?.second ?: 0
+ val counter = CollectionAPI.getCollectionCounter(step.collectionName) ?: 0
if (step.amountHaving != counter) {
step.amountHaving = counter
if (counter >= step.amountNeeded) {