diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-11-24 04:20:56 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-11-24 04:20:56 +0100 |
commit | b32344991743f53c94a48f8a0054d0126b15bbfd (patch) | |
tree | ac4b0ba7d95bb7d0dcc650c77d6e9272459bb8c1 /src/main/java/at/hannibal2/skyhanni/api | |
parent | 25efa3d4ee8c652a4d75b5357b7705b0267c08ae (diff) | |
download | skyhanni-b32344991743f53c94a48f8a0054d0126b15bbfd.tar.gz skyhanni-b32344991743f53c94a48f8a0054d0126b15bbfd.tar.bz2 skyhanni-b32344991743f53c94a48f8a0054d0126b15bbfd.zip |
Created and used ItemAddEvent, /shtrackcollection now supports sack messages.
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 8698d9f28..ba9dc5327 100644 --- a/src/main/java/at/hannibal2/skyhanni/api/CollectionAPI.kt +++ b/src/main/java/at/hannibal2/skyhanni/api/CollectionAPI.kt @@ -2,8 +2,8 @@ package at.hannibal2.skyhanni.api import at.hannibal2.skyhanni.events.CollectionUpdateEvent import at.hannibal2.skyhanni.events.InventoryFullyOpenedEvent +import at.hannibal2.skyhanni.events.ItemAddEvent import at.hannibal2.skyhanni.events.ProfileJoinEvent -import at.hannibal2.skyhanni.events.entity.ItemAddInInventoryEvent import at.hannibal2.skyhanni.utils.ItemUtils.getLore import at.hannibal2.skyhanni.utils.ItemUtils.name import at.hannibal2.skyhanni.utils.LorenzUtils @@ -69,7 +69,7 @@ class CollectionAPI { } @SubscribeEvent - fun onItemAdd(event: ItemAddInInventoryEvent) { + fun onItemAdd(event: ItemAddEvent) { val internalName = event.internalName val (_, amount) = NEUItems.getMultiplier(internalName) if (amount > 1) return |