diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-03-12 21:55:50 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-03-12 21:55:50 +0100 |
commit | f29f71cd02da50d510a8be57f5388e1a4522dbe0 (patch) | |
tree | c21fa85c4ed667d9ff87c585bf3fa07dad5b1079 /src/main/java/at/hannibal2/skyhanni/data | |
parent | 3174b0cf96a4bb4f31c8c94a6d604e580639a3e3 (diff) | |
download | skyhanni-f29f71cd02da50d510a8be57f5388e1a4522dbe0.tar.gz skyhanni-f29f71cd02da50d510a8be57f5388e1a4522dbe0.tar.bz2 skyhanni-f29f71cd02da50d510a8be57f5388e1a4522dbe0.zip |
Added support for soopy's [hand] feature
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/data')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/ChatManager.kt | 4 |
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 != "") { |