diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-08-08 22:27:07 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-08-08 22:27:07 -0400 |
commit | d813c4e2c8522584beaf1432725b4cdd2cc251b5 (patch) | |
tree | dd7ce212182e773d826c955d3e1deaa7cbcdec40 /src/SMAPI.Web/ViewModels | |
parent | e376386d250780c50f17c40f82419128b4e7beab (diff) | |
download | SMAPI-d813c4e2c8522584beaf1432725b4cdd2cc251b5.tar.gz SMAPI-d813c4e2c8522584beaf1432725b4cdd2cc251b5.tar.bz2 SMAPI-d813c4e2c8522584beaf1432725b4cdd2cc251b5.zip |
fix log parsing for invalid content packs (#860)
Diffstat (limited to 'src/SMAPI.Web/ViewModels')
-rw-r--r-- | src/SMAPI.Web/ViewModels/LogParserModel.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI.Web/ViewModels/LogParserModel.cs b/src/SMAPI.Web/ViewModels/LogParserModel.cs index c39a9b0a..34d0b4df 100644 --- a/src/SMAPI.Web/ViewModels/LogParserModel.cs +++ b/src/SMAPI.Web/ViewModels/LogParserModel.cs @@ -107,7 +107,7 @@ namespace StardewModdingAPI.Web.ViewModels // group by mod return mods .Where(mod => mod.IsContentPack) - .GroupBy(mod => mod.ContentPackFor!) + .GroupBy(mod => mod.ContentPackFor ?? "") .ToDictionary(group => group.Key, group => group.ToArray()); } |