From d21bfc3ada2d9a1d6bf6084f7e54d49120f4d82e Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Fri, 16 Nov 2018 21:31:07 -0500 Subject: [PATCH] fix error when entering an incorrect console command --- src/SMAPI/Framework/SGame.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/SMAPI/Framework/SGame.cs b/src/SMAPI/Framework/SGame.cs index 3de97aea..75cf4c52 100644 --- a/src/SMAPI/Framework/SGame.cs +++ b/src/SMAPI/Framework/SGame.cs @@ -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) {