Several fixes

Fix Alerts bot not displaying several occurences in a row
Fix Script bot not displaying in console what it is performing
Fix IOException not caught when connection is lost
This commit is contained in:
ORelio 2014-07-01 14:10:29 +02:00
parent d295f3b181
commit cfb313fa01
5 changed files with 13 additions and 2 deletions

View file

@ -72,7 +72,15 @@ namespace MinecraftClient
public static string[] getArgs(string command)
{
return getArg(command).Split(' ');
string[] args = getArg(command).Split(' ');
if (args.Length == 1 && args[0] == "")
{
return new string[] { };
}
else
{
return args;
}
}
}
}