diff options
| author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-03-12 03:41:40 +0100 |
|---|---|---|
| committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-03-12 03:41:40 +0100 |
| commit | 900ab6bd801682f1fac237bf7702093aebac68ec (patch) | |
| tree | 69bc4f0b07c0e6b6c2b2e9cdcb6dfeb6c9edf617 /src/main/java/at/hannibal2/skyhanni/api | |
| parent | 0eebcf99ed0f2aa26bf62920a61eb50092d4f8cb (diff) | |
| download | skyhanni-900ab6bd801682f1fac237bf7702093aebac68ec.tar.gz skyhanni-900ab6bd801682f1fac237bf7702093aebac68ec.tar.bz2 skyhanni-900ab6bd801682f1fac237bf7702093aebac68ec.zip | |
Adding farming weight provided by the elite skyblock farmers.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/api')
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/api/CollectionAPI.kt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/api/CollectionAPI.kt b/src/main/java/at/hannibal2/skyhanni/api/CollectionAPI.kt index af1be6bc4..0a8fc7a80 100644 --- a/src/main/java/at/hannibal2/skyhanni/api/CollectionAPI.kt +++ b/src/main/java/at/hannibal2/skyhanni/api/CollectionAPI.kt @@ -1,5 +1,6 @@ package at.hannibal2.skyhanni.api +import at.hannibal2.skyhanni.events.CollectionUpdateEvent import at.hannibal2.skyhanni.events.InventoryOpenEvent import at.hannibal2.skyhanni.events.ProfileApiDataLoadedEvent import at.hannibal2.skyhanni.events.ProfileJoinEvent @@ -41,6 +42,8 @@ class CollectionAPI { } collectionValue[itemName] = counter } + + CollectionUpdateEvent().postAndCatch() } @SubscribeEvent @@ -61,6 +64,7 @@ class CollectionAPI { collectionValue[name] = counter } } + CollectionUpdateEvent().postAndCatch() } if (inventoryName.endsWith(" Collections")) { @@ -85,6 +89,7 @@ class CollectionAPI { } } } + CollectionUpdateEvent().postAndCatch() } } |
