aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/chat
diff options
context:
space:
mode:
authorCalMWolfs <94038482+CalMWolfs@users.noreply.github.com>2023-11-30 21:21:52 +1100
committerGitHub <noreply@github.com>2023-11-30 11:21:52 +0100
commita33686f0bcf9828c0bdd1568724fe6b8826b7027 (patch)
tree6022819f9ee9c60abdf8d17daa8da310299ae34d /src/main/java/at/hannibal2/skyhanni/features/chat
parent592a565cb0d030481e2e093f983c754600e288c1 (diff)
downloadskyhanni-a33686f0bcf9828c0bdd1568724fe6b8826b7027.tar.gz
skyhanni-a33686f0bcf9828c0bdd1568724fe6b8826b7027.tar.bz2
skyhanni-a33686f0bcf9828c0bdd1568724fe6b8826b7027.zip
make npc messages not be detected as player messages (#742)
Fixed npc messages getting detected as player messages. #742
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/chat')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/chat/Translator.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/chat/Translator.kt b/src/main/java/at/hannibal2/skyhanni/features/chat/Translator.kt
index 2cfdb5dc9..3cc67e617 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/chat/Translator.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/chat/Translator.kt
@@ -25,7 +25,7 @@ class Translator {
// Logic for listening for a user click on a chat message is from NotEnoughUpdates
@SubscribeEvent(priority = EventPriority.LOWEST)
- fun onGuiChat(event: LorenzChatEvent) {
+ fun onChat(event: LorenzChatEvent) {
if (!isEnabled()) return
val message = event.message