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/BaseContentManager.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/BaseContentManager.cs')
-rw-r--r-- | src/SMAPI/Framework/ContentManagers/BaseContentManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/Framework/ContentManagers/BaseContentManager.cs b/src/SMAPI/Framework/ContentManagers/BaseContentManager.cs index 1ca84792..f41a9354 100644 --- a/src/SMAPI/Framework/ContentManagers/BaseContentManager.cs +++ b/src/SMAPI/Framework/ContentManagers/BaseContentManager.cs @@ -97,7 +97,7 @@ namespace StardewModdingAPI.Framework.ContentManagers } /// <inheritdoc /> - public virtual bool DoesAssetExist(IAssetName assetName) + public virtual bool DoesAssetExist<T>(IAssetName assetName) { return this.Cache.ContainsKey(assetName.Name); } |