diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-09-26 19:48:01 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-09-26 19:48:01 -0400 |
commit | 9461494a35b789c679a799fc9c5db2321d19d803 (patch) | |
tree | de8fd404dd81c0d6c57626b2cd8331a6c38c5f77 /src/SMAPI/Framework/SCore.cs | |
parent | 1b5055dfaafc6dcf77b5262b8290e8ca2c8179ed (diff) | |
download | SMAPI-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.cs | 3 |
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 |