fix: Fixes parsing booleans in commands. Adds ClearAll command (#1818)
This commit is contained in:
parent
ad26f0a1cb
commit
c69d16a90e
4 changed files with 121 additions and 112 deletions
|
|
@ -130,6 +130,10 @@ namespace Server.Commands.Generic
|
|||
{
|
||||
Value = Enum.Parse(Type, toParse, true);
|
||||
}
|
||||
else if (Type == typeof(bool))
|
||||
{
|
||||
Value = bool.Parse(toParse);
|
||||
}
|
||||
else
|
||||
{
|
||||
MethodInfo parseMethod;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue