diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-04-09 11:42:49 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-04-09 11:42:49 -0400 |
commit | 5ae87fbc01a8829a1a23f90efc25a5dbaada6e68 (patch) | |
tree | cdcc2e8d140326b457f37f1c3bdb2aa46c772555 /src | |
parent | 238045ba9c5937f684cad3c55a8f9b9c2733e45f (diff) | |
download | SMAPI-5ae87fbc01a8829a1a23f90efc25a5dbaada6e68.tar.gz SMAPI-5ae87fbc01a8829a1a23f90efc25a5dbaada6e68.tar.bz2 SMAPI-5ae87fbc01a8829a1a23f90efc25a5dbaada6e68.zip |
fix deprecation warning when a mod uses LoadFromModFile
Diffstat (limited to 'src')
-rw-r--r-- | src/SMAPI/Events/AssetRequestedEventArgs.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/Events/AssetRequestedEventArgs.cs b/src/SMAPI/Events/AssetRequestedEventArgs.cs index 82b59290..3c51c95d 100644 --- a/src/SMAPI/Events/AssetRequestedEventArgs.cs +++ b/src/SMAPI/Events/AssetRequestedEventArgs.cs @@ -101,7 +101,7 @@ namespace StardewModdingAPI.Events mod: this.Mod, priority: priority, onBehalfOf: null, - _ => this.Mod.Mod.Helper.Content.Load<TAsset>(relativePath)) + _ => this.Mod.Mod.Helper.ModContent.Load<TAsset>(relativePath)) ); } |