aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-03-12 21:55:50 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-03-12 21:55:50 +0100
commitf29f71cd02da50d510a8be57f5388e1a4522dbe0 (patch)
treec21fa85c4ed667d9ff87c585bf3fa07dad5b1079
parent3174b0cf96a4bb4f31c8c94a6d604e580639a3e3 (diff)
downloadskyhanni-f29f71cd02da50d510a8be57f5388e1a4522dbe0.tar.gz
skyhanni-f29f71cd02da50d510a8be57f5388e1a4522dbe0.tar.bz2
skyhanni-f29f71cd02da50d510a8be57f5388e1a4522dbe0.zip
Added support for soopy's [hand] feature
-rw-r--r--CHANGELOG.md1
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/ChatManager.kt4
2 files changed, 4 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 440296bf0..e7fd1c1ba 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -50,6 +50,7 @@
+ Fixed dungeon milestone messages getting wrongfully formatted.
+ Fixed bazaar features not working for items with an - (turbo farming books and triple strike)
+ Fixed Crab Hat of Celebration not being detected as an accessory correctly.
++ Added support for soopy's \[hand] feature
## Version 0.16 (2023-02-11)
diff --git a/src/main/java/at/hannibal2/skyhanni/data/ChatManager.kt b/src/main/java/at/hannibal2/skyhanni/data/ChatManager.kt
index 95572c213..b55840b39 100644
--- a/src/main/java/at/hannibal2/skyhanni/data/ChatManager.kt
+++ b/src/main/java/at/hannibal2/skyhanni/data/ChatManager.kt
@@ -43,7 +43,9 @@ class ChatManager {
if (message.startsWith("§f{\"server\":\"")) return
val chatEvent = LorenzChatEvent(message, original)
- chatEvent.postAndCatch()
+ if (!event.message.toString().contains("(held item preview from soopy using [hand])")) {
+ chatEvent.postAndCatch()
+ }
val blockReason = chatEvent.blockedReason.uppercase()
if (blockReason != "") {