diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-01-15 08:38:40 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-01-15 08:38:40 +0100 |
commit | d63cab09ad36e9b6f46107ffb3924c98dd2a798c (patch) | |
tree | 1f1b4e85f05292e4526a0daf63803ca9a206241d /src/main | |
parent | 12611ae443b95fe186e5784ce48fcdb381985bf5 (diff) | |
parent | 1ccfb31b94a4b0809cf4b77925bce9861e5aecc6 (diff) | |
download | skyhanni-d63cab09ad36e9b6f46107ffb3924c98dd2a798c.tar.gz skyhanni-d63cab09ad36e9b6f46107ffb3924c98dd2a798c.tar.bz2 skyhanni-d63cab09ad36e9b6f46107ffb3924c98dd2a798c.zip |
Merge branch 'dev' into crimson_isle_reputation
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/misc/CollectionCounter.kt | 10 |
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") } } |