diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-11-18 21:07:52 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-11-18 21:07:52 -0500 |
commit | f154c5774d6e6197d63ca284606ce965a920d212 (patch) | |
tree | 1c742e2f5fd457a55a6183f2fa05408bcfbbedb0 /src/SMAPI/Metadata/CoreAssetPropagator.cs | |
parent | 3d4276707b1599479aa618a9447e2e2d4abb8647 (diff) | |
download | SMAPI-f154c5774d6e6197d63ca284606ce965a920d212.tar.gz SMAPI-f154c5774d6e6197d63ca284606ce965a920d212.tar.bz2 SMAPI-f154c5774d6e6197d63ca284606ce965a920d212.zip |
minor updates (#638)
Diffstat (limited to 'src/SMAPI/Metadata/CoreAssetPropagator.cs')
-rw-r--r-- | src/SMAPI/Metadata/CoreAssetPropagator.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/Metadata/CoreAssetPropagator.cs b/src/SMAPI/Metadata/CoreAssetPropagator.cs index a6bfab5c..9bb9a857 100644 --- a/src/SMAPI/Metadata/CoreAssetPropagator.cs +++ b/src/SMAPI/Metadata/CoreAssetPropagator.cs @@ -735,7 +735,7 @@ namespace StardewModdingAPI.Metadata { Lazy<Texture2D> texture = new Lazy<Texture2D>(() => content.Load<Texture2D>(key)); foreach (Tree tree in trees) - this.Reflection.GetField<Lazy<Texture2D>>(tree, "texture").SetValue(texture); + tree.texture = texture; return true; } |