diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2021-08-25 20:03:06 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2021-08-25 20:03:06 -0400 |
commit | 11ecd578e960379db609cae5f9922df11ae79820 (patch) | |
tree | 02909317cfd597acc14e932357fd8d2662fa3ea7 /src/SMAPI | |
parent | 687a396e9c7581ebc2b35e58fc9b44d20d93a5d3 (diff) | |
download | SMAPI-11ecd578e960379db609cae5f9922df11ae79820.tar.gz SMAPI-11ecd578e960379db609cae5f9922df11ae79820.tar.bz2 SMAPI-11ecd578e960379db609cae5f9922df11ae79820.zip |
fix error when no symbols are found
Diffstat (limited to 'src/SMAPI')
-rw-r--r-- | src/SMAPI/Framework/ModLoading/Symbols/SymbolReaderProvider.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/Framework/ModLoading/Symbols/SymbolReaderProvider.cs b/src/SMAPI/Framework/ModLoading/Symbols/SymbolReaderProvider.cs index 1b160690..44074337 100644 --- a/src/SMAPI/Framework/ModLoading/Symbols/SymbolReaderProvider.cs +++ b/src/SMAPI/Framework/ModLoading/Symbols/SymbolReaderProvider.cs @@ -13,7 +13,7 @@ namespace StardewModdingAPI.Framework.ModLoading.Symbols ** Fields *********/ /// <summary>The underlying symbol reader provider.</summary> - private readonly ISymbolReaderProvider BaseProvider = new DefaultSymbolReaderProvider(); + private readonly ISymbolReaderProvider BaseProvider = new DefaultSymbolReaderProvider(throwIfNoSymbol: false); /// <summary>The symbol data loaded by absolute assembly path.</summary> private readonly Dictionary<string, Stream> SymbolsByAssemblyPath = new Dictionary<string, Stream>(StringComparer.OrdinalIgnoreCase); |