diff options
-rw-r--r-- | src/SMAPI/Framework/IModMetadata.cs | 7 | ||||
-rw-r--r-- | src/SMAPI/IModInfo.cs | 3 |
2 files changed, 5 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; } diff --git a/src/SMAPI/IModInfo.cs b/src/SMAPI/IModInfo.cs index a16c2d7b..3c85d454 100644 --- a/src/SMAPI/IModInfo.cs +++ b/src/SMAPI/IModInfo.cs @@ -5,5 +5,8 @@ namespace StardewModdingAPI { /// <summary>The mod manifest.</summary> IManifest Manifest { get; } + + /// <summary>Whether the mod is a content pack.</summary> + bool IsContentPack { get; } } } |