diff options
author | Dan Volchek <volchek2@illinois.edu> | 2018-04-25 02:06:05 -0500 |
---|---|---|
committer | Dan Volchek <volchek2@illinois.edu> | 2018-04-25 02:06:05 -0500 |
commit | f95c7f25f4447fd1a34400a273256b1e5b4df7b1 (patch) | |
tree | 90acc9bc9a33ca28735814b688ebe3ea77496b60 /src/SMAPI/Framework | |
parent | f451e172e2d2cf1959c86fdb24c708ca5b1924f7 (diff) | |
download | SMAPI-f95c7f25f4447fd1a34400a273256b1e5b4df7b1.tar.gz SMAPI-f95c7f25f4447fd1a34400a273256b1e5b4df7b1.tar.bz2 SMAPI-f95c7f25f4447fd1a34400a273256b1e5b4df7b1.zip |
fix not adding last arg
Diffstat (limited to 'src/SMAPI/Framework')
-rw-r--r-- | src/SMAPI/Framework/CommandManager.cs | 3 |
1 files changed, 3 insertions, 0 deletions
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(); } |