summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDan Volchek <volchek2@illinois.edu>2018-04-25 02:06:05 -0500
committerDan Volchek <volchek2@illinois.edu>2018-04-25 02:06:05 -0500
commitf95c7f25f4447fd1a34400a273256b1e5b4df7b1 (patch)
tree90acc9bc9a33ca28735814b688ebe3ea77496b60 /src
parentf451e172e2d2cf1959c86fdb24c708ca5b1924f7 (diff)
downloadSMAPI-f95c7f25f4447fd1a34400a273256b1e5b4df7b1.tar.gz
SMAPI-f95c7f25f4447fd1a34400a273256b1e5b4df7b1.tar.bz2
SMAPI-f95c7f25f4447fd1a34400a273256b1e5b4df7b1.zip
fix not adding last arg
Diffstat (limited to 'src')
-rw-r--r--src/SMAPI/Framework/CommandManager.cs3
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();
}