summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/ModLoading/Symbols/SymbolReaderProvider.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-08-25 20:03:06 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-08-25 20:03:06 -0400
commit11ecd578e960379db609cae5f9922df11ae79820 (patch)
tree02909317cfd597acc14e932357fd8d2662fa3ea7 /src/SMAPI/Framework/ModLoading/Symbols/SymbolReaderProvider.cs
parent687a396e9c7581ebc2b35e58fc9b44d20d93a5d3 (diff)
downloadSMAPI-11ecd578e960379db609cae5f9922df11ae79820.tar.gz
SMAPI-11ecd578e960379db609cae5f9922df11ae79820.tar.bz2
SMAPI-11ecd578e960379db609cae5f9922df11ae79820.zip
fix error when no symbols are found
Diffstat (limited to 'src/SMAPI/Framework/ModLoading/Symbols/SymbolReaderProvider.cs')
-rw-r--r--src/SMAPI/Framework/ModLoading/Symbols/SymbolReaderProvider.cs2
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);