aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/events/ItemInHandChangeEvent.kt
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal002@users.noreply.github.com>2023-11-24 03:01:01 +0100
committerGitHub <noreply@github.com>2023-11-24 03:01:01 +0100
commit43f0e576509d54bb7b12ab59be292c261a0b050d (patch)
treea61aa63d2393ac88e1ddbf577a67065a2753efaa /src/main/java/at/hannibal2/skyhanni/events/ItemInHandChangeEvent.kt
parentdd2a77f37504f81e09806e1c277451957ea455ac (diff)
downloadskyhanni-43f0e576509d54bb7b12ab59be292c261a0b050d.tar.gz
skyhanni-43f0e576509d54bb7b12ab59be292c261a0b050d.tar.bz2
skyhanni-43f0e576509d54bb7b12ab59be292c261a0b050d.zip
fishing v2 (#729)
Prevent wrong fishing item pickup #729
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/events/ItemInHandChangeEvent.kt')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/events/ItemInHandChangeEvent.kt3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/events/ItemInHandChangeEvent.kt b/src/main/java/at/hannibal2/skyhanni/events/ItemInHandChangeEvent.kt
index 3f5b94b3c..4ef39df43 100644
--- a/src/main/java/at/hannibal2/skyhanni/events/ItemInHandChangeEvent.kt
+++ b/src/main/java/at/hannibal2/skyhanni/events/ItemInHandChangeEvent.kt
@@ -1,6 +1,5 @@
package at.hannibal2.skyhanni.events
import at.hannibal2.skyhanni.utils.NEUInternalName
-import net.minecraft.item.ItemStack
-class ItemInHandChangeEvent(val internalName: NEUInternalName, val stack: ItemStack?) : LorenzEvent() \ No newline at end of file
+class ItemInHandChangeEvent(val newItem: NEUInternalName, val oldItem: NEUInternalName) : LorenzEvent()