fix error when entering an incorrect console command

This commit is contained in:
Jesse Plamondon-Willard 2018-11-16 21:31:07 -05:00
parent dcfae980bf
commit d21bfc3ada
No known key found for this signature in database
GPG Key ID: 7D7C8097B62033CE
1 changed files with 3 additions and 0 deletions

View File

@ -303,7 +303,10 @@ namespace StardewModdingAPI.Framework
try
{
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);
continue;
}
}
catch (Exception ex)
{