diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilterGui.kt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilterGui.kt b/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilterGui.kt index 421b7b951..0fee71849 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilterGui.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilterGui.kt @@ -3,11 +3,11 @@ package at.hannibal2.skyhanni.features.chat import at.hannibal2.skyhanni.data.ChatManager import at.hannibal2.skyhanni.utils.ChatUtils import at.hannibal2.skyhanni.utils.KeyboardManager -import at.hannibal2.skyhanni.utils.LorenzUtils import at.hannibal2.skyhanni.utils.OSUtils +import at.hannibal2.skyhanni.utils.StringUtils.stripHypixelMessage +import io.github.moulberry.notenoughupdates.util.Utils import io.github.notenoughupdates.moulconfig.internal.GlScissorStack import io.github.notenoughupdates.moulconfig.internal.RenderUtils -import io.github.moulberry.notenoughupdates.util.Utils import net.minecraft.client.Minecraft import net.minecraft.client.gui.GuiScreen import net.minecraft.client.gui.GuiUtilRenderComponents @@ -76,9 +76,9 @@ class ChatFilterGui(private val history: List<ChatManager.MessageFilteringResult OSUtils.copyToClipboard(IChatComponent.Serializer.componentToJson(msg.message)) ChatUtils.chat("Copied structured chat line to clipboard", false) } else { - val message = LorenzUtils.stripVanillaMessage(msg.message.formattedText) + val message = msg.message.formattedText.stripHypixelMessage() OSUtils.copyToClipboard(message) - ChatUtils.chat("Copied chat line to clipboard", false) + ChatUtils.chat("Copied chat line to clipboard") } } mouseY -= size * 10 |