From f95c7f25f4447fd1a34400a273256b1e5b4df7b1 Mon Sep 17 00:00:00 2001 From: Dan Volchek Date: Wed, 25 Apr 2018 02:06:05 -0500 Subject: fix not adding last arg --- src/SMAPI/Framework/CommandManager.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/SMAPI/Framework/CommandManager.cs b/src/SMAPI/Framework/CommandManager.cs index 78e03827..0c48d8ec 100644 --- a/src/SMAPI/Framework/CommandManager.cs +++ b/src/SMAPI/Framework/CommandManager.cs @@ -126,6 +126,9 @@ namespace StardewModdingAPI.Framework else currentArg.Add(c); } + + args.Add(string.Concat(currentArg)); + return args.Where(item => !string.IsNullOrWhiteSpace(item)).ToArray(); } -- cgit