diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-03-27 12:16:28 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-03-27 12:16:28 -0400 |
commit | d864f2ed775dfd5843b9e1cdd1da96ade5dd1068 (patch) | |
tree | 0c5d14bb6e1febc82a1d4cebaf46c44b83f46026 /src/SMAPI/Framework/ContentManagers/ModContentManager.cs | |
parent | 03efea26676464933513383eb1c841f1ca5db34d (diff) | |
download | SMAPI-d864f2ed775dfd5843b9e1cdd1da96ade5dd1068.tar.gz SMAPI-d864f2ed775dfd5843b9e1cdd1da96ade5dd1068.tar.bz2 SMAPI-d864f2ed775dfd5843b9e1cdd1da96ade5dd1068.zip |
add asset type to AssetRequested event (#766)
Diffstat (limited to 'src/SMAPI/Framework/ContentManagers/ModContentManager.cs')
-rw-r--r-- | src/SMAPI/Framework/ContentManagers/ModContentManager.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SMAPI/Framework/ContentManagers/ModContentManager.cs b/src/SMAPI/Framework/ContentManagers/ModContentManager.cs index 375b5e0e..2a5a3f16 100644 --- a/src/SMAPI/Framework/ContentManagers/ModContentManager.cs +++ b/src/SMAPI/Framework/ContentManagers/ModContentManager.cs @@ -66,9 +66,9 @@ namespace StardewModdingAPI.Framework.ContentManagers } /// <inheritdoc /> - public override bool DoesAssetExist(IAssetName assetName) + public override bool DoesAssetExist<T>(IAssetName assetName) { - if (base.DoesAssetExist(assetName)) + if (base.DoesAssetExist<T>(assetName)) return true; FileInfo file = this.GetModFile(assetName.Name); |