diff options
author | Brady <thatgravyboat@gmail.com> | 2024-05-08 08:30:59 -0230 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-08 13:00:59 +0200 |
commit | f9ce2fa19a1178fd9f2e2728d09ac5acd299d69f (patch) | |
tree | c344555d1a09f27b74347413f828df71fe95767b /src/main/java/at/hannibal2/skyhanni/test | |
parent | 49d918a5d01f102796c2ef52a26e69a41892eb8f (diff) | |
download | skyhanni-f9ce2fa19a1178fd9f2e2728d09ac5acd299d69f.tar.gz skyhanni-f9ce2fa19a1178fd9f2e2728d09ac5acd299d69f.tar.bz2 skyhanni-f9ce2fa19a1178fd9f2e2728d09ac5acd299d69f.zip |
Backend: Text API (#1718)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/test')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/test/SkyHanniDebugsAndTests.kt | 3 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/test/command/TestChatCommand.kt | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/test/SkyHanniDebugsAndTests.kt b/src/main/java/at/hannibal2/skyhanni/test/SkyHanniDebugsAndTests.kt index 0ae712f9d..4916d770f 100644 --- a/src/main/java/at/hannibal2/skyhanni/test/SkyHanniDebugsAndTests.kt +++ b/src/main/java/at/hannibal2/skyhanni/test/SkyHanniDebugsAndTests.kt @@ -206,7 +206,8 @@ class SkyHanniDebugsAndTests { onClick = { resetConfig() }, - prefix = false + prefix = false, + oneTimeClick = true ) } diff --git a/src/main/java/at/hannibal2/skyhanni/test/command/TestChatCommand.kt b/src/main/java/at/hannibal2/skyhanni/test/command/TestChatCommand.kt index 4c23f5ed1..2007e5b99 100644 --- a/src/main/java/at/hannibal2/skyhanni/test/command/TestChatCommand.kt +++ b/src/main/java/at/hannibal2/skyhanni/test/command/TestChatCommand.kt @@ -51,7 +51,7 @@ object TestChatCommand { if (finalMessage.formattedText.stripHypixelMessage() != message) { ChatUtils.chat("§eChat modified!") } - ChatUtils.chatComponent(finalMessage) + ChatUtils.chat(finalMessage) } } } |