aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-09-02 09:30:33 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-09-02 09:30:33 +0200
commit889e7eb7a05d04875e26c4629b169f3478660212 (patch)
tree8b9d65afa0609b3a0098c95a962a71892ad7f30f /src/main/java/at
parent78e86c686cddfab27cd6b1f24801e51ffe05b3ff (diff)
downloadskyhanni-889e7eb7a05d04875e26c4629b169f3478660212.tar.gz
skyhanni-889e7eb7a05d04875e26c4629b169f3478660212.tar.bz2
skyhanni-889e7eb7a05d04875e26c4629b169f3478660212.zip
Hopefully fixed error messages in bingo around collection values
Diffstat (limited to 'src/main/java/at')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/api/CollectionAPI.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/api/CollectionAPI.kt b/src/main/java/at/hannibal2/skyhanni/api/CollectionAPI.kt
index ca1be6890..43ea964ee 100644
--- a/src/main/java/at/hannibal2/skyhanni/api/CollectionAPI.kt
+++ b/src/main/java/at/hannibal2/skyhanni/api/CollectionAPI.kt
@@ -71,7 +71,7 @@ class CollectionAPI {
fun isCollectionTier0(lore: List<String>) = lore.map { collectionTier0Pattern.matcher(it) }.any { it.matches() }
- fun getCollectionCounter(internalName: NEUInternalName) = collectionValue[internalName]
+ fun getCollectionCounter(internalName: NEUInternalName): Long? = collectionValue[internalName]
// TODO add support for replenish (higher collection than actual items in inv)
fun addFromInventory(internalName: NEUInternalName, amount: Int) {