diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-02-05 17:22:30 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-02-05 17:22:30 +0100 |
commit | bfe03a9606a098d52a756d35319fba0f3e06edff (patch) | |
tree | 66bc3ea96dc2feb598067ff6edfa10419a83f93e | |
parent | a3a447bd118aa45c14ec30d16ad1f516d8424f51 (diff) | |
download | skyhanni-bfe03a9606a098d52a756d35319fba0f3e06edff.tar.gz skyhanni-bfe03a9606a098d52a756d35319fba0f3e06edff.tar.bz2 skyhanni-bfe03a9606a098d52a756d35319fba0f3e06edff.zip |
CollectionCounter reminds to enable collection api.
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/misc/CollectionCounter.kt | 4 |
1 files changed, 2 insertions, 2 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 275e7173d..0235367d5 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/misc/CollectionCounter.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/misc/CollectionCounter.kt @@ -64,7 +64,7 @@ class CollectionCounter { val apiName = data.apiName if (!apiCollectionData.contains(apiName)) { if (apiCollectionData.isEmpty()) { - LorenzUtils.chat("§c[SkyHanni] No Collection Data! API down?") + LorenzUtils.chat("§c[SkyHanni] No Collection Data! Is the collection API disabled? Is the API down?") } else { LorenzUtils.chat("§c[SkyHanni] Item $name is not in the collection data!") } @@ -166,7 +166,7 @@ class CollectionCounter { fun onProfileDataLoad(event: ProfileApiDataLoadedEvent) { val profileData = event.profileData - //new profiles don't have any collections + //new profiles don't have any collections or collection api is disabled val collection = profileData["collection"]?.asJsonObject ?: return apiCollectionData.clear() |