summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/slayer
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/slayer
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/slayer')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerQuestWarning.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/BlazeSlayerDaggerHelper.kt2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerQuestWarning.kt b/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerQuestWarning.kt
index 52eb9f806..03beaa6fe 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerQuestWarning.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerQuestWarning.kt
@@ -28,7 +28,7 @@ class SlayerQuestWarning {
//TODO add check if player has clicked on an item, before mobs around you gets damage
@SubscribeEvent
- fun onChatMessage(event: LorenzChatEvent) {
+ fun onChat(event: LorenzChatEvent) {
if (!(LorenzUtils.inSkyBlock)) return
val message = event.message
diff --git a/src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/BlazeSlayerDaggerHelper.kt b/src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/BlazeSlayerDaggerHelper.kt
index 5d0a4f178..535bc3130 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/BlazeSlayerDaggerHelper.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/BlazeSlayerDaggerHelper.kt
@@ -35,7 +35,7 @@ class BlazeSlayerDaggerHelper {
private var lastNearest: HellionShield? = null
@SubscribeEvent
- fun onChatMessage(event: LorenzChatEvent) {
+ fun onChat(event: LorenzChatEvent) {
if (!LorenzUtils.inSkyBlock) return
if (!config.hideDaggerWarning) return