diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-08-03 14:14:01 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-08-03 14:14:01 +0200 |
commit | 18360356893db95f3fd49c19906ff18d19ea298a (patch) | |
tree | cb1f26e45cde4c43e5d240f9c61aa28ed2547866 /src/main/java/at/hannibal2/skyhanni/api | |
parent | a6e143df4997bdd76115f6da60a6f19ab320a436 (diff) | |
download | skyhanni-18360356893db95f3fd49c19906ff18d19ea298a.tar.gz skyhanni-18360356893db95f3fd49c19906ff18d19ea298a.tar.bz2 skyhanni-18360356893db95f3fd49c19906ff18d19ea298a.zip |
Renamed inventory open events to reflect their actual implementation better
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/api')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/api/CollectionAPI.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/api/CollectionAPI.kt b/src/main/java/at/hannibal2/skyhanni/api/CollectionAPI.kt index 7b3fbc7d5..9e0cad6c0 100644 --- a/src/main/java/at/hannibal2/skyhanni/api/CollectionAPI.kt +++ b/src/main/java/at/hannibal2/skyhanni/api/CollectionAPI.kt @@ -1,7 +1,7 @@ package at.hannibal2.skyhanni.api import at.hannibal2.skyhanni.events.CollectionUpdateEvent -import at.hannibal2.skyhanni.events.InventoryOpenEvent +import at.hannibal2.skyhanni.events.InventoryFullyOpenedEvent import at.hannibal2.skyhanni.events.ProfileApiDataLoadedEvent import at.hannibal2.skyhanni.events.ProfileJoinEvent import at.hannibal2.skyhanni.utils.ItemUtils.getInternalName_new @@ -43,7 +43,7 @@ class CollectionAPI { } @SubscribeEvent - fun onTick(event: InventoryOpenEvent) { + fun onTick(event: InventoryFullyOpenedEvent) { val inventoryName = event.inventoryName if (inventoryName.endsWith(" Collection")) { val stack = event.inventoryItems[4] ?: return |