diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-09-10 10:41:56 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-09-10 10:41:56 +0200 |
commit | 6dd90af204bbb5859529b362909130e6c9767929 (patch) | |
tree | ea5283faa142b881a3468175b8b78341e0519b08 /src/main/java/at/hannibal2/skyhanni/data | |
parent | 593c01992afe4e8d5d4cd8aa61abbfb1d82e2a30 (diff) | |
download | skyhanni-6dd90af204bbb5859529b362909130e6c9767929.tar.gz skyhanni-6dd90af204bbb5859529b362909130e6c9767929.tar.bz2 skyhanni-6dd90af204bbb5859529b362909130e6c9767929.zip |
code cleanup
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/data')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/SackAPI.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/SackAPI.kt b/src/main/java/at/hannibal2/skyhanni/data/SackAPI.kt index 4534e49a5..e2102c6ec 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/SackAPI.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/SackAPI.kt @@ -195,7 +195,7 @@ object SackAPI { @SubscribeEvent fun onChat(event: LorenzChatEvent) { if (!event.message.removeColor().startsWith("[Sacks]")) return - + val sackAddText = event.chatComponent.siblings.firstNotNullOfOrNull { sibling -> sibling.chatStyle?.chatHoverEvent?.value?.formattedText?.removeColor()?.takeIf { it.startsWith("Added") |