fix not adding last arg

This commit is contained in:
Dan Volchek 2018-04-25 02:06:05 -05:00
parent f451e172e2
commit f95c7f25f4
1 changed files with 3 additions and 0 deletions

View File

@ -126,6 +126,9 @@ namespace StardewModdingAPI.Framework
else
currentArg.Add(c);
}
args.Add(string.Concat(currentArg));
return args.Where(item => !string.IsNullOrWhiteSpace(item)).ToArray();
}