diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-10-08 19:13:03 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-10-08 19:13:03 -0400 |
commit | ea3d3a6648f0a1c679a7593cfed0dacaed1ec045 (patch) | |
tree | 38e905efbea6b2c863e1327ea9e8156b325a2fd6 /src/SMAPI/Framework/IModMetadata.cs | |
parent | ec6025aad35addab8121a31d1c4abf667fd5210a (diff) | |
download | SMAPI-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.cs | 3 |
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; } |