diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-02-03 00:53:18 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-02-03 00:53:18 +0100 |
commit | aeca29914fd8995c575d847c97376a49b0481e10 (patch) | |
tree | 4f9c26e44bcac9c77c9c0ff57e1eca654f44d997 /src/main/java/at/hannibal2/skyhanni/features/misc | |
parent | 859f837fa0573c335c5249da5c08eac13968a6df (diff) | |
download | skyhanni-aeca29914fd8995c575d847c97376a49b0481e10.tar.gz skyhanni-aeca29914fd8995c575d847c97376a49b0481e10.tar.bz2 skyhanni-aeca29914fd8995c575d847c97376a49b0481e10.zip |
Highlight stuff that is missing in the skyblock level guide inventory.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/misc')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/misc/CollectionCounter.kt | 6 |
1 files changed, 6 insertions, 0 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 088836401..275e7173d 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/misc/CollectionCounter.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/misc/CollectionCounter.kt @@ -2,6 +2,7 @@ package at.hannibal2.skyhanni.features.misc import at.hannibal2.skyhanni.SkyHanniMod import at.hannibal2.skyhanni.events.ProfileApiDataLoadedEvent +import at.hannibal2.skyhanni.events.ProfileJoinEvent import at.hannibal2.skyhanni.features.bazaar.BazaarApi import at.hannibal2.skyhanni.features.bazaar.BazaarData import at.hannibal2.skyhanni.utils.InventoryUtils @@ -157,6 +158,11 @@ class CollectionCounter { } @SubscribeEvent + fun onProfileJoin(event: ProfileJoinEvent) { + apiCollectionData.clear() + } + + @SubscribeEvent fun onProfileDataLoad(event: ProfileApiDataLoadedEvent) { val profileData = event.profileData |