mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-11-07 17:36:07 +00:00
Use Trim instead of space deletion
This commit is contained in:
parent
24c4344a70
commit
ee406b233e
2 changed files with 4 additions and 4 deletions
|
|
@ -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":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue