summaryrefslogtreecommitdiff
path: root/src/SMAPI/Metadata
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-04-15 22:36:50 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-09-14 17:14:43 -0400
commit78f28357e4f87ed619144229ea65c1e1cb0f9dd3 (patch)
treed0a1634878e275326bcd7e7d9c4274d74ef44566 /src/SMAPI/Metadata
parentee132828437c156207ddfc1cbc15339a6852c2fe (diff)
downloadSMAPI-78f28357e4f87ed619144229ea65c1e1cb0f9dd3.tar.gz
SMAPI-78f28357e4f87ed619144229ea65c1e1cb0f9dd3.tar.bz2
SMAPI-78f28357e4f87ed619144229ea65c1e1cb0f9dd3.zip
update code for SDV 1.4 (#638)
Diffstat (limited to 'src/SMAPI/Metadata')
-rw-r--r--src/SMAPI/Metadata/CoreAssetPropagator.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SMAPI/Metadata/CoreAssetPropagator.cs b/src/SMAPI/Metadata/CoreAssetPropagator.cs
index a64dc89b..c4086712 100644
--- a/src/SMAPI/Metadata/CoreAssetPropagator.cs
+++ b/src/SMAPI/Metadata/CoreAssetPropagator.cs
@@ -152,12 +152,12 @@ namespace StardewModdingAPI.Metadata
case "characters\\farmer\\farmer_base": // Farmer
if (Game1.player == null || !Game1.player.IsMale)
return false;
- return Game1.player.FarmerRenderer = new FarmerRenderer(key);
+ return Game1.player.FarmerRenderer = new FarmerRenderer(key, Game1.player);
case "characters\\farmer\\farmer_girl_base": // Farmer
if (Game1.player == null || Game1.player.IsMale)
return false;
- return Game1.player.FarmerRenderer = new FarmerRenderer(key);
+ return Game1.player.FarmerRenderer = new FarmerRenderer(key, Game1.player);
case "characters\\farmer\\hairstyles": // Game1.loadContent
return FarmerRenderer.hairStylesTexture = content.Load<Texture2D>(key);