aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/utils/ChatUtils.kt
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal002@users.noreply.github.com>2024-02-20 19:14:13 +0100
committerGitHub <noreply@github.com>2024-02-20 19:14:13 +0100
commit788fa74d1743c475576e49eaf8edeeedddf1824f (patch)
treec0567e53326a40a77566581e76c7de2b0c2ef041 /src/main/java/at/hannibal2/skyhanni/utils/ChatUtils.kt
parent92a4d14deaa7a4bc9cfb5426f9b493ee78a14f56 (diff)
downloadskyhanni-788fa74d1743c475576e49eaf8edeeedddf1824f.tar.gz
skyhanni-788fa74d1743c475576e49eaf8edeeedddf1824f.tar.bz2
skyhanni-788fa74d1743c475576e49eaf8edeeedddf1824f.zip
Deprecate LorenzUtils.sendCommandToServer. #1025
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils/ChatUtils.kt')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/ChatUtils.kt3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/ChatUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/ChatUtils.kt
index 533c67731..036cad877 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/ChatUtils.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/ChatUtils.kt
@@ -208,6 +208,9 @@ object ChatUtils {
}
fun sendCommandToServer(command: String) {
+ if (command.startsWith("/")) {
+ debug("Sending wrong command to server? ($command)")
+ }
sendMessageToServer("/$command")
}