diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2020-01-07 21:26:58 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2020-01-07 21:26:58 -0500 |
commit | 18c69c5587f1196afc5c380cb078157e71b1a385 (patch) | |
tree | d5e11634247cad2b2a66975d78f57db60e4fcd04 /src/SMAPI/Framework/SCore.cs | |
parent | b8a566a060eb5caa8cc37edba3ca670192f7a35b (diff) | |
download | SMAPI-18c69c5587f1196afc5c380cb078157e71b1a385.tar.gz SMAPI-18c69c5587f1196afc5c380cb078157e71b1a385.tar.bz2 SMAPI-18c69c5587f1196afc5c380cb078157e71b1a385.zip |
intercept schedule errors
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 dfd77e16..c4841ece 100644 --- a/src/SMAPI/Framework/SCore.cs +++ b/src/SMAPI/Framework/SCore.cs @@ -253,7 +253,8 @@ namespace StardewModdingAPI.Framework new DialogueErrorPatch(this.MonitorForGame, this.Reflection), new ObjectErrorPatch(), new LoadContextPatch(this.Reflection, this.GameInstance.OnLoadStageChanged), - new LoadErrorPatch(this.Monitor, this.GameInstance.OnSaveContentRemoved) + new LoadErrorPatch(this.Monitor, this.GameInstance.OnSaveContentRemoved), + new ScheduleErrorPatch(this.MonitorForGame) ); // add exit handler |