summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/SCore.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-01-07 21:26:58 -0500
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-01-07 21:26:58 -0500
commit18c69c5587f1196afc5c380cb078157e71b1a385 (patch)
treed5e11634247cad2b2a66975d78f57db60e4fcd04 /src/SMAPI/Framework/SCore.cs
parentb8a566a060eb5caa8cc37edba3ca670192f7a35b (diff)
downloadSMAPI-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.cs3
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