aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/events/FishingBobberCastEvent.kt
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-05 12:32:30 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-05 12:32:30 +0100
commit14e72eb0fe2c542b014c9dcd70711ce18150445a (patch)
tree1a7e9ffc1e9e062ab9a0c29436f83b6b35b71cf1 /src/main/java/at/hannibal2/skyhanni/events/FishingBobberCastEvent.kt
parent55b8487233477aad0524568c3960ae74b80db347 (diff)
downloadskyhanni-14e72eb0fe2c542b014c9dcd70711ce18150445a.tar.gz
skyhanni-14e72eb0fe2c542b014c9dcd70711ce18150445a.tar.bz2
skyhanni-14e72eb0fe2c542b014c9dcd70711ce18150445a.zip
creating FishingBobberCastEvent and removing code duplication
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/events/FishingBobberCastEvent.kt')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/events/FishingBobberCastEvent.kt5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/events/FishingBobberCastEvent.kt b/src/main/java/at/hannibal2/skyhanni/events/FishingBobberCastEvent.kt
new file mode 100644
index 000000000..01ea0222e
--- /dev/null
+++ b/src/main/java/at/hannibal2/skyhanni/events/FishingBobberCastEvent.kt
@@ -0,0 +1,5 @@
+package at.hannibal2.skyhanni.events
+
+import net.minecraft.entity.projectile.EntityFishHook
+
+class FishingBobberCastEvent(val bobber: EntityFishHook) : LorenzEvent()