From f29f71cd02da50d510a8be57f5388e1a4522dbe0 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Sun, 12 Mar 2023 21:55:50 +0100 Subject: Added support for soopy's [hand] feature --- CHANGELOG.md | 1 + src/main/java/at/hannibal2/skyhanni/data/ChatManager.kt | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) 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 != "") { -- cgit