summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/SCore.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-09-26 19:48:01 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-09-26 19:48:01 -0400
commit9461494a35b789c679a799fc9c5db2321d19d803 (patch)
treede8fd404dd81c0d6c57626b2cd8331a6c38c5f77 /src/SMAPI/Framework/SCore.cs
parent1b5055dfaafc6dcf77b5262b8290e8ca2c8179ed (diff)
downloadSMAPI-9461494a35b789c679a799fc9c5db2321d19d803.tar.gz
SMAPI-9461494a35b789c679a799fc9c5db2321d19d803.tar.bz2
SMAPI-9461494a35b789c679a799fc9c5db2321d19d803.zip
auto-fix save data when a custom NPC mod is removed
Diffstat (limited to 'src/SMAPI/Framework/SCore.cs')
-rw-r--r--src/SMAPI/Framework/SCore.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/SMAPI/Framework/SCore.cs b/src/SMAPI/Framework/SCore.cs
index e293cefd..bc893abc 100644
--- a/src/SMAPI/Framework/SCore.cs
+++ b/src/SMAPI/Framework/SCore.cs
@@ -239,7 +239,8 @@ namespace StardewModdingAPI.Framework
new EventErrorPatch(this.MonitorForGame),
new DialogueErrorPatch(this.MonitorForGame, this.Reflection),
new ObjectErrorPatch(),
- new LoadContextPatch(this.Reflection, this.GameInstance.OnLoadStageChanged)
+ new LoadContextPatch(this.Reflection, this.GameInstance.OnLoadStageChanged),
+ new LoadErrorPatch(this.Monitor)
);
// add exit handler