summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/fishing
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-01-31 19:03:41 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-01-31 19:03:41 +0100
commitd58dfb57cc78d0a73b81a58e01b6e17899355924 (patch)
treeba7cab54fa94b03669b8571655147780f72d4279 /src/main/java/at/hannibal2/skyhanni/features/fishing
parentfe00857ce42a8b829d72b2515c4f940c68c67a19 (diff)
downloadskyhanni-d58dfb57cc78d0a73b81a58e01b6e17899355924.tar.gz
skyhanni-d58dfb57cc78d0a73b81a58e01b6e17899355924.tar.bz2
skyhanni-d58dfb57cc78d0a73b81a58e01b6e17899355924.zip
replace onChatMessage with onChat
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/fishing')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/fishing/SeaCreatureManager.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/fishing/SharkFishCounter.kt2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/fishing/SeaCreatureManager.kt b/src/main/java/at/hannibal2/skyhanni/features/fishing/SeaCreatureManager.kt
index 022e9d302..5843bb97c 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/fishing/SeaCreatureManager.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/fishing/SeaCreatureManager.kt
@@ -13,7 +13,7 @@ class SeaCreatureManager {
private var doubleHook = false
@SubscribeEvent
- fun onChatMessage(event: LorenzChatEvent) {
+ fun onChat(event: LorenzChatEvent) {
if (!LorenzUtils.inSkyBlock) return
if (doubleHookMessages.contains(event.message)) {
if (SkyHanniMod.feature.fishing.compactDoubleHook) {
diff --git a/src/main/java/at/hannibal2/skyhanni/features/fishing/SharkFishCounter.kt b/src/main/java/at/hannibal2/skyhanni/features/fishing/SharkFishCounter.kt
index 6e98cd134..f84a72d53 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/fishing/SharkFishCounter.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/fishing/SharkFishCounter.kt
@@ -45,7 +45,7 @@ class SharkFishCounter {
}
@SubscribeEvent
- fun onChatMessage(event: LorenzChatEvent) {
+ fun onChat(event: LorenzChatEvent) {
if (event.message != "§b§lFISHING FESTIVAL §r§eThe festival has concluded! Time to dry off and repair your rods!") return
val count = counter.sum()
if (count == 0) return