fix error when entering an incorrect console command
This commit is contained in:
parent
dcfae980bf
commit
d21bfc3ada
|
@ -303,7 +303,10 @@ namespace StardewModdingAPI.Framework
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if (!this.CommandManager.TryParse(rawInput, out name, out args, out command))
|
if (!this.CommandManager.TryParse(rawInput, out name, out args, out command))
|
||||||
|
{
|
||||||
this.Monitor.Log("Unknown command; type 'help' for a list of available commands.", LogLevel.Error);
|
this.Monitor.Log("Unknown command; type 'help' for a list of available commands.", LogLevel.Error);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue