diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2018-12-15 13:33:22 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2018-12-15 13:33:22 -0500 |
commit | 39341d772e99492f239ad8aff09cca8760ff5b83 (patch) | |
tree | 411edbf7104abf0c6386ae412fee935c12d952b1 /src/SMAPI/Framework/SCore.cs | |
parent | 5f620e14fa331b0721bd4044011363477dc79ef5 (diff) | |
download | SMAPI-39341d772e99492f239ad8aff09cca8760ff5b83.tar.gz SMAPI-39341d772e99492f239ad8aff09cca8760ff5b83.tar.bz2 SMAPI-39341d772e99492f239ad8aff09cca8760ff5b83.zip |
prevent invalid items from crashing the game
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 3bc0aca4..679838ba 100644 --- a/src/SMAPI/Framework/SCore.cs +++ b/src/SMAPI/Framework/SCore.cs @@ -184,7 +184,8 @@ namespace StardewModdingAPI.Framework // apply game patches new GamePatcher(this.Monitor).Apply( - new DialogueErrorPatch(this.MonitorForGame, this.Reflection) + new DialogueErrorPatch(this.MonitorForGame, this.Reflection), + new ObjectErrorPatch() ); } |