From 000f3802df6173e4a2b150fdde12195ae1cfc7de Mon Sep 17 00:00:00 2001 From: Joshua Navarro Date: Sun, 6 Jan 2019 09:28:14 -0800 Subject: [PATCH] Fixed SaveAnywhere issue with not finding npc field nameofTodaysSchedule as it was renamed to nameOfTodaysSchedule in SDV 1.32 --- GeneralMods/SaveAnywhere/SaveAnywhere.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GeneralMods/SaveAnywhere/SaveAnywhere.cs b/GeneralMods/SaveAnywhere/SaveAnywhere.cs index 94010ad5..6d6620cf 100644 --- a/GeneralMods/SaveAnywhere/SaveAnywhere.cs +++ b/GeneralMods/SaveAnywhere/SaveAnywhere.cs @@ -325,14 +325,14 @@ namespace Omegasis.SaveAnywhere if ((npc.Name.Equals("Penny") && (dayName.Equals("Tue") || dayName.Equals("Wed") || dayName.Equals("Fri"))) || (npc.Name.Equals("Maru") && (dayName.Equals("Tue") || dayName.Equals("Thu"))) || (npc.Name.Equals("Harvey") && (dayName.Equals("Tue") || dayName.Equals("Thu")))) { this.Helper.Reflection - .GetField(npc, "nameofTodaysSchedule") + .GetField(npc, "nameOfTodaysSchedule") .SetValue("marriageJob"); return "marriageJob"; } if (!Game1.isRaining && schedule.ContainsKey("marriage_" + Game1.shortDayNameFromDayOfSeason(Game1.dayOfMonth))) { this.Helper.Reflection - .GetField(npc, "nameofTodaysSchedule") + .GetField(npc, "nameOfTodaysSchedule") .SetValue("marriage_" + Game1.shortDayNameFromDayOfSeason(Game1.dayOfMonth)); return "marriage_" + Game1.shortDayNameFromDayOfSeason(Game1.dayOfMonth); }