diff options
| author | nobaboy <84668101+nobaboy@users.noreply.github.com> | 2024-04-24 00:07:14 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-23 23:07:14 +0200 |
| commit | 7175920bcccf4036109a937d2967612732eeafaa (patch) | |
| tree | fa5770b562c333d2a722baa172cd4b63e70e9868 /src/main/java/at/hannibal2/skyhanni/data/hypixel | |
| parent | 2b8b4d90bcda89e1b0c109d6531bf13208bc487b (diff) | |
| download | skyhanni-7175920bcccf4036109a937d2967612732eeafaa.tar.gz skyhanni-7175920bcccf4036109a937d2967612732eeafaa.tar.bz2 skyhanni-7175920bcccf4036109a937d2967612732eeafaa.zip | |
Fixed transfer command (#1505)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/data/hypixel')
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/hypixel/chat/event/PartyChatEvent.kt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/hypixel/chat/event/PartyChatEvent.kt b/src/main/java/at/hannibal2/skyhanni/data/hypixel/chat/event/PartyChatEvent.kt index dc9e921cc..bb3abad24 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/hypixel/chat/event/PartyChatEvent.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/hypixel/chat/event/PartyChatEvent.kt @@ -1,5 +1,6 @@ package at.hannibal2.skyhanni.data.hypixel.chat.event +import at.hannibal2.skyhanni.utils.StringUtils.cleanPlayerName import net.minecraft.util.IChatComponent class PartyChatEvent( @@ -7,4 +8,8 @@ class PartyChatEvent( message: String, chatComponent: IChatComponent, blockedReason: String? = null, -) : AbstractChatEvent(author, message, chatComponent, blockedReason) +) : AbstractChatEvent(author, message, chatComponent, blockedReason) { + val cleanedAuthor by lazy { + author.cleanPlayerName() + } +} |
