From dea2862018bba17f785311755c9d5c6f18e4cd89 Mon Sep 17 00:00:00 2001 From: ORelio Date: Wed, 27 Aug 2014 17:22:27 +0200 Subject: [PATCH] Fix "log" in scripts displaying the comment twice Bug report by TorchRJ_ --- MinecraftClient/ChatBots/Script.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MinecraftClient/ChatBots/Script.cs b/MinecraftClient/ChatBots/Script.cs index 9e050a51..cb96ffa8 100644 --- a/MinecraftClient/ChatBots/Script.cs +++ b/MinecraftClient/ChatBots/Script.cs @@ -106,7 +106,7 @@ namespace MinecraftClient.ChatBots { sleepticks = 0; Update(); //Unknown command : process next line immediately } - else LogToConsole(instruction_line); + else if (instruction_name.ToLower() != "log") { LogToConsole(instruction_line); } break; } }