diff options
author | hannibal2 <24389977+hannibal002@users.noreply.github.com> | 2023-11-24 03:01:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-24 03:01:01 +0100 |
commit | 43f0e576509d54bb7b12ab59be292c261a0b050d (patch) | |
tree | a61aa63d2393ac88e1ddbf577a67065a2753efaa /src/main/java/at/hannibal2/skyhanni/events | |
parent | dd2a77f37504f81e09806e1c277451957ea455ac (diff) | |
download | skyhanni-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')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/events/ItemInHandChangeEvent.kt | 3 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/events/SkillExpGainEvent.kt | 4 |
2 files changed, 5 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() diff --git a/src/main/java/at/hannibal2/skyhanni/events/SkillExpGainEvent.kt b/src/main/java/at/hannibal2/skyhanni/events/SkillExpGainEvent.kt new file mode 100644 index 000000000..c6c7be5cc --- /dev/null +++ b/src/main/java/at/hannibal2/skyhanni/events/SkillExpGainEvent.kt @@ -0,0 +1,4 @@ +package at.hannibal2.skyhanni.events + +// does not know how much exp is there, also gets called multiple times +class SkillExpGainEvent(val skill: String) : LorenzEvent() |