diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-04-14 23:11:41 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-04-14 23:11:41 -0400 |
commit | fd136d34c5d4fbfc708eabf82a5eb9396d8a4756 (patch) | |
tree | eb2991a13b64919a78d9a4b791f1f395e21d8b65 /src/SMAPI/Framework/Content | |
parent | 1a3befa93e073b45e63781cc546cd7c52f316d7c (diff) | |
download | SMAPI-fd136d34c5d4fbfc708eabf82a5eb9396d8a4756.tar.gz SMAPI-fd136d34c5d4fbfc708eabf82a5eb9396d8a4756.tar.bz2 SMAPI-fd136d34c5d4fbfc708eabf82a5eb9396d8a4756.zip |
track full mod & stack metadata in queued deprecation warnings
Diffstat (limited to 'src/SMAPI/Framework/Content')
-rw-r--r-- | src/SMAPI/Framework/Content/AssetInfo.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SMAPI/Framework/Content/AssetInfo.cs b/src/SMAPI/Framework/Content/AssetInfo.cs index 0f0e9bf3..16b71487 100644 --- a/src/SMAPI/Framework/Content/AssetInfo.cs +++ b/src/SMAPI/Framework/Content/AssetInfo.cs @@ -32,7 +32,7 @@ namespace StardewModdingAPI.Framework.Content get { SCore.DeprecationManager.Warn( - source: SCore.DeprecationManager.GetSourceNameFromStack(), + source: SCore.DeprecationManager.GetModFromStack(), nounPhrase: $"{nameof(IAssetInfo)}.{nameof(IAssetInfo.AssetName)}", version: "3.14.0", severity: DeprecationLevel.Notice @@ -68,7 +68,7 @@ namespace StardewModdingAPI.Framework.Content public bool AssetNameEquals(string path) { SCore.DeprecationManager.Warn( - source: SCore.DeprecationManager.GetSourceNameFromStack(), + source: SCore.DeprecationManager.GetModFromStack(), nounPhrase: $"{nameof(IAssetInfo)}.{nameof(IAssetInfo.AssetNameEquals)}", version: "3.14.0", severity: DeprecationLevel.Notice |