summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/ModLoading/ModMetadata.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-04-17 22:10:51 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-04-17 22:10:51 -0400
commit9174e17f5372905d3f494e1b36688f41dff367cc (patch)
treeca65008aa770bbd8bffbefe0d803a3c594312f6d /src/SMAPI/Framework/ModLoading/ModMetadata.cs
parentf961a376ee5347d5ac2b830ce82b28f116889e72 (diff)
downloadSMAPI-9174e17f5372905d3f494e1b36688f41dff367cc.tar.gz
SMAPI-9174e17f5372905d3f494e1b36688f41dff367cc.tar.bz2
SMAPI-9174e17f5372905d3f494e1b36688f41dff367cc.zip
mark field readonly
Diffstat (limited to 'src/SMAPI/Framework/ModLoading/ModMetadata.cs')
-rw-r--r--src/SMAPI/Framework/ModLoading/ModMetadata.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/Framework/ModLoading/ModMetadata.cs b/src/SMAPI/Framework/ModLoading/ModMetadata.cs
index 0d89fd20..17e6d59a 100644
--- a/src/SMAPI/Framework/ModLoading/ModMetadata.cs
+++ b/src/SMAPI/Framework/ModLoading/ModMetadata.cs
@@ -20,7 +20,7 @@ namespace StardewModdingAPI.Framework.ModLoading
private ModWarning ActualWarnings = ModWarning.None;
/// <summary>The mod IDs which are listed as a requirement by this mod. The value for each pair indicates whether the dependency is required (i.e. not an optional dependency).</summary>
- private Lazy<IDictionary<string, bool>> Dependencies;
+ private readonly Lazy<IDictionary<string, bool>> Dependencies;
/*********