Fix "log" in scripts displaying the comment twice

Bug report by TorchRJ_
This commit is contained in:
ORelio 2014-08-27 17:22:27 +02:00
parent 5fd32828c7
commit dea2862018

View file

@ -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;
}
}