summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-08-22 23:07:48 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-08-22 23:07:48 -0400
commitfd925e9a8c13d31980d934195ea9cc81acaf970a (patch)
treeef0c8239bf25b610b8a970c027b9ce1809ab3bd1 /src/SMAPI/Framework
parentceac1de6ec7ed5f7ecc32cb99a665af891863657 (diff)
downloadSMAPI-fd925e9a8c13d31980d934195ea9cc81acaf970a.tar.gz
SMAPI-fd925e9a8c13d31980d934195ea9cc81acaf970a.tar.bz2
SMAPI-fd925e9a8c13d31980d934195ea9cc81acaf970a.zip
let mods access mod.IsContentPack property (#534)
Diffstat (limited to 'src/SMAPI/Framework')
-rw-r--r--src/SMAPI/Framework/IModMetadata.cs7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/SMAPI/Framework/IModMetadata.cs b/src/SMAPI/Framework/IModMetadata.cs
index edd7eed6..1a007297 100644
--- a/src/SMAPI/Framework/IModMetadata.cs
+++ b/src/SMAPI/Framework/IModMetadata.cs
@@ -28,10 +28,10 @@ namespace StardewModdingAPI.Framework
/// <summary>The reason the metadata is invalid, if any.</summary>
string Error { get; }
- /// <summary>The mod instance (if loaded and <see cref="IsContentPack"/> is false).</summary>
+ /// <summary>The mod instance (if loaded and <see cref="IModInfo.IsContentPack"/> is false).</summary>
IMod Mod { get; }
- /// <summary>The content pack instance (if loaded and <see cref="IsContentPack"/> is true).</summary>
+ /// <summary>The content pack instance (if loaded and <see cref="IModInfo.IsContentPack"/> is true).</summary>
IContentPack ContentPack { get; }
/// <summary>Writes messages to the console and log file as this mod.</summary>
@@ -40,9 +40,6 @@ namespace StardewModdingAPI.Framework
/// <summary>The mod-provided API (if any).</summary>
object Api { get; }
- /// <summary>Whether the mod is a content pack.</summary>
- bool IsContentPack { get; }
-
/// <summary>The update-check metadata for this mod (if any).</summary>
ModEntryModel UpdateCheckData { get; }