From 8dd3efaa547ddbd0ee664b5c7ffa89c220d7333a Mon Sep 17 00:00:00 2001 From: Milutinke Date: Wed, 7 Sep 2022 11:32:38 +0200 Subject: [PATCH] Fixed remote control bot. --- MinecraftClient/ChatBots/RemoteControl.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MinecraftClient/ChatBots/RemoteControl.cs b/MinecraftClient/ChatBots/RemoteControl.cs index 9bf038df..988640f4 100644 --- a/MinecraftClient/ChatBots/RemoteControl.cs +++ b/MinecraftClient/ChatBots/RemoteControl.cs @@ -13,7 +13,7 @@ namespace MinecraftClient.ChatBots { public override void GetText(string text) { - text = GetVerbatim(text); + text = GetVerbatim(text).Trim(); string command = "", sender = ""; if (IsPrivateMessage(text, ref command, ref sender) && Settings.Bots_Owners.Contains(sender.ToLower().Trim())) {