aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/ChatManager.kt4
1 files changed, 3 insertions, 1 deletions
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 != "") {