diff options
| author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2022-09-16 10:43:51 +0200 |
|---|---|---|
| committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2022-09-16 10:43:51 +0200 |
| commit | cf0237a27dee5a64c62247165548b50af77b20dc (patch) | |
| tree | ad67f01a5b7391ce5e7569c1cf2dcef40e3eebcb /src/main/java/at/hannibal2/skyhanni/data | |
| parent | b94cc7476eb77cd68143da2dd28d38253209f0e4 (diff) | |
| download | skyhanni-cf0237a27dee5a64c62247165548b50af77b20dc.tar.gz skyhanni-cf0237a27dee5a64c62247165548b50af77b20dc.tar.bz2 skyhanni-cf0237a27dee5a64c62247165548b50af77b20dc.zip | |
added support for SBA chat icon features
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/data')
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/ChatManager.kt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/ChatManager.kt b/src/main/java/at/hannibal2/skyhanni/data/ChatManager.kt index 38a50da6e..39459fe83 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/ChatManager.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/ChatManager.kt @@ -32,6 +32,8 @@ class ChatManager { @SubscribeEvent(receiveCanceled = true) fun onChatReceive(event: ClientChatReceivedEvent) { + if (event.type.toInt() == 2) return + val messageComponent = event.message val message = LorenzUtils.stripVanillaMessage(messageComponent.formattedText) |
