aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/test/command
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal002@users.noreply.github.com>2024-03-22 18:16:49 +0100
committerGitHub <noreply@github.com>2024-03-22 18:16:49 +0100
commita8138b0aa20d2b2fd266b1352eaf075999365bb6 (patch)
treea9c15556e699c00869bae2fe811e309727b204c8 /src/main/java/at/hannibal2/skyhanni/test/command
parent788adb59f20e01c83f4e030fa077a70275c00074 (diff)
downloadskyhanni-a8138b0aa20d2b2fd266b1352eaf075999365bb6.tar.gz
skyhanni-a8138b0aa20d2b2fd266b1352eaf075999365bb6.tar.bz2
skyhanni-a8138b0aa20d2b2fd266b1352eaf075999365bb6.zip
Backend: ChatClickActionManager (#1128)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Co-authored-by: Cal <cwolfson58@gmail.com> Co-authored-by: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/test/command')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/test/command/ErrorManager.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/test/command/ErrorManager.kt b/src/main/java/at/hannibal2/skyhanni/test/command/ErrorManager.kt
index e7d0fa3cb..5b369a35c 100644
--- a/src/main/java/at/hannibal2/skyhanni/test/command/ErrorManager.kt
+++ b/src/main/java/at/hannibal2/skyhanni/test/command/ErrorManager.kt
@@ -4,10 +4,10 @@ import at.hannibal2.skyhanni.SkyHanniMod
import at.hannibal2.skyhanni.utils.ChatUtils
import at.hannibal2.skyhanni.utils.KeyboardManager
import at.hannibal2.skyhanni.utils.OSUtils
+import at.hannibal2.skyhanni.utils.StringUtils
import at.hannibal2.skyhanni.utils.StringUtils.removeColor
import at.hannibal2.skyhanni.utils.TimeLimitedSet
import net.minecraft.client.Minecraft
-import java.util.UUID
import kotlin.time.Duration.Companion.minutes
object ErrorManager {
@@ -134,7 +134,7 @@ object ErrorManager {
fullStackTrace = throwable.getCustomStackTrace(true).joinToString("\n")
stackTrace = throwable.getCustomStackTrace(false).joinToString("\n")
}
- val randomId = UUID.randomUUID().toString()
+ val randomId = StringUtils.generateRandomId()
val extraDataString = buildExtraDataString(extraData)
val rawMessage = message.removeColor()