aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/CollectionCounter.kt10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/CollectionCounter.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/CollectionCounter.kt
index e36b5001e..8ddf0eba7 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/CollectionCounter.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/CollectionCounter.kt
@@ -62,7 +62,11 @@ class CollectionCounter {
val apiName = data.apiName
if (!apiCollectionData.contains(apiName)) {
- LorenzUtils.chat("§c[SkyHanni] Item $name is not in collection data!")
+ if (apiCollectionData.isEmpty()) {
+ LorenzUtils.chat("§c[SkyHanni] Collection data not loaded! (API down?)")
+ } else {
+ LorenzUtils.chat("§c[SkyHanni] Item $name is not in collection data!")
+ }
return
}
@@ -133,8 +137,8 @@ class CollectionCounter {
if (diff != 0) {
if (diff > 0) {
gainItems(diff)
- } else {
- LorenzUtils.debug("Collection counter! Negative collection change: $diff")
+// } else {
+// LorenzUtils.debug("Collection counter! Negative collection change: $diff")
}
}