From 889e7eb7a05d04875e26c4629b169f3478660212 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Sat, 2 Sep 2023 09:30:33 +0200 Subject: Hopefully fixed error messages in bingo around collection values --- src/main/java/at/hannibal2/skyhanni/api/CollectionAPI.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java') 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) = 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) { -- cgit