From 788fa74d1743c475576e49eaf8edeeedddf1824f Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal002@users.noreply.github.com> Date: Tue, 20 Feb 2024 19:14:13 +0100 Subject: Deprecate LorenzUtils.sendCommandToServer. #1025 --- src/main/java/at/hannibal2/skyhanni/utils/ChatUtils.kt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main/java/at/hannibal2/skyhanni/utils/ChatUtils.kt') 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") } -- cgit