summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/ModLoading/ModMetadata.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-06-01 19:59:00 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-06-01 19:59:00 -0400
commite10147e7bda94a8fbc58684246628a6520d2c6b8 (patch)
tree3135a4ef641192e42ee1f97b8c56fc9b76a52aee /src/SMAPI/Framework/ModLoading/ModMetadata.cs
parent0209e70695b6d12692d4de554ce1fc9d65ca4715 (diff)
parent1cded44f7a5626a0d4f5c3ce48a83aa544d517c3 (diff)
downloadSMAPI-e10147e7bda94a8fbc58684246628a6520d2c6b8.tar.gz
SMAPI-e10147e7bda94a8fbc58684246628a6520d2c6b8.tar.bz2
SMAPI-e10147e7bda94a8fbc58684246628a6520d2c6b8.zip
Merge branch 'develop' into stable
Diffstat (limited to 'src/SMAPI/Framework/ModLoading/ModMetadata.cs')
-rw-r--r--src/SMAPI/Framework/ModLoading/ModMetadata.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/SMAPI/Framework/ModLoading/ModMetadata.cs b/src/SMAPI/Framework/ModLoading/ModMetadata.cs
index fe54634b..aa4d2d8c 100644
--- a/src/SMAPI/Framework/ModLoading/ModMetadata.cs
+++ b/src/SMAPI/Framework/ModLoading/ModMetadata.cs
@@ -139,6 +139,13 @@ namespace StardewModdingAPI.Framework.ModLoading
}
/// <inheritdoc />
+ public IModMetadata RemoveWarning(ModWarning warning)
+ {
+ this.ActualWarnings &= ~warning;
+ return this;
+ }
+
+ /// <inheritdoc />
public IModMetadata SetMod(IMod mod, TranslationHelper translations)
{
if (this.ContentPack != null)