diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-26 19:25:51 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-26 19:25:51 +0100 |
commit | 9a87aa42b339a9640718173e59fc0fc7b1a021a0 (patch) | |
tree | 88bb0b00f4c3f74d11291783ce277b0ffd53bc41 /src/main/java/at/hannibal2/skyhanni/features | |
parent | 38abef2c4409cf32b2087918ac587e8bf370c091 (diff) | |
download | skyhanni-9a87aa42b339a9640718173e59fc0fc7b1a021a0.tar.gz skyhanni-9a87aa42b339a9640718173e59fc0fc7b1a021a0.tar.bz2 skyhanni-9a87aa42b339a9640718173e59fc0fc7b1a021a0.zip |
fixed loading at first bobber
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/fishing/tracker/SeaCreatureTracker.kt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/fishing/tracker/SeaCreatureTracker.kt b/src/main/java/at/hannibal2/skyhanni/features/fishing/tracker/SeaCreatureTracker.kt index 2e0181706..1dfd03e79 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/fishing/tracker/SeaCreatureTracker.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/fishing/tracker/SeaCreatureTracker.kt @@ -2,6 +2,7 @@ package at.hannibal2.skyhanni.features.fishing.tracker import at.hannibal2.skyhanni.SkyHanniMod import at.hannibal2.skyhanni.events.ConfigLoadEvent +import at.hannibal2.skyhanni.events.FishingBobberCastEvent import at.hannibal2.skyhanni.events.GuiRenderEvent import at.hannibal2.skyhanni.events.SeaCreatureFishEvent import at.hannibal2.skyhanni.features.fishing.FishingAPI @@ -138,6 +139,11 @@ object SeaCreatureTracker { } @SubscribeEvent + fun onBobberThrow(event: FishingBobberCastEvent) { + tracker.firstUpdate() + } + + @SubscribeEvent fun onRenderOverlay(event: GuiRenderEvent) { if (!isEnabled()) return |