summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/IModMetadata.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-10-08 19:13:03 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-10-08 19:13:03 -0400
commitea3d3a6648f0a1c679a7593cfed0dacaed1ec045 (patch)
tree38e905efbea6b2c863e1327ea9e8156b325a2fd6 /src/SMAPI/Framework/IModMetadata.cs
parentec6025aad35addab8121a31d1c4abf667fd5210a (diff)
downloadSMAPI-ea3d3a6648f0a1c679a7593cfed0dacaed1ec045.tar.gz
SMAPI-ea3d3a6648f0a1c679a7593cfed0dacaed1ec045.tar.bz2
SMAPI-ea3d3a6648f0a1c679a7593cfed0dacaed1ec045.zip
make duplicate-mod more intuitive
The error now shows the relative folder paths (instead of manifest IDs), and only one error will be logged instead of one per duplicate.
Diffstat (limited to 'src/SMAPI/Framework/IModMetadata.cs')
-rw-r--r--src/SMAPI/Framework/IModMetadata.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/SMAPI/Framework/IModMetadata.cs b/src/SMAPI/Framework/IModMetadata.cs
index 85d1b619..a62c9950 100644
--- a/src/SMAPI/Framework/IModMetadata.cs
+++ b/src/SMAPI/Framework/IModMetadata.cs
@@ -18,6 +18,9 @@ namespace StardewModdingAPI.Framework
/// <summary>The mod's full directory path.</summary>
string DirectoryPath { get; }
+ /// <summary>The <see cref="DirectoryPath"/> relative to the game's Mods folder.</summary>
+ string RelativeDirectoryPath { get; }
+
/// <summary>Metadata about the mod from SMAPI's internal data (if any).</summary>
ModDataRecordVersionedFields DataRecord { get; }