Use Trim instead of space deletion

This commit is contained in:
ORelio 2015-01-27 20:23:59 +01:00
parent 24c4344a70
commit ee406b233e
2 changed files with 4 additions and 4 deletions

View file

@ -155,8 +155,8 @@ namespace MinecraftClient
case "botowners":
Bots_Owners.Clear();
foreach (string name in argValue.ToLower().Replace(" ", "").Split(','))
Bots_Owners.Add(name);
foreach (string name in argValue.ToLower().Split(','))
Bots_Owners.Add(name.Trim());
break;
case "internalcmdchar":