aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-05-03 20:00:43 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-05-03 20:00:43 +0200
commit52433cbfe19b103a00ac231486a738955fe72e6f (patch)
tree08633473b33270614b0371fdd1849ea1b3a5eed7 /src/main/java/at/hannibal2/skyhanni
parente210a5849b2c31628489568470580ec0416285e7 (diff)
downloadskyhanni-52433cbfe19b103a00ac231486a738955fe72e6f.tar.gz
skyhanni-52433cbfe19b103a00ac231486a738955fe72e6f.tar.bz2
skyhanni-52433cbfe19b103a00ac231486a738955fe72e6f.zip
code cleanup
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilterGui.kt8
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