summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/SCore.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-01-01 11:51:57 -0500
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-01-01 11:51:57 -0500
commit0fdb09f5f9ef463dbf867c3a46ce680706305f0e (patch)
treece8fa4555809a09eef96267ae9caf97ef1344af8 /src/SMAPI/Framework/SCore.cs
parentf95292953f95ec71071fce7a6438a5403dc85816 (diff)
downloadSMAPI-0fdb09f5f9ef463dbf867c3a46ce680706305f0e.tar.gz
SMAPI-0fdb09f5f9ef463dbf867c3a46ce680706305f0e.tar.bz2
SMAPI-0fdb09f5f9ef463dbf867c3a46ce680706305f0e.zip
fix network messages not using same JSON serializer settings (#745)
Diffstat (limited to 'src/SMAPI/Framework/SCore.cs')
-rw-r--r--src/SMAPI/Framework/SCore.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/Framework/SCore.cs b/src/SMAPI/Framework/SCore.cs
index 27540442..5dc33828 100644
--- a/src/SMAPI/Framework/SCore.cs
+++ b/src/SMAPI/Framework/SCore.cs
@@ -1128,7 +1128,7 @@ namespace StardewModdingAPI.Framework
modIDs.Remove(message.FromModID); // don't send a broadcast back to the sender
// raise events
- this.EventManager.ModMessageReceived.Raise(new ModMessageReceivedEventArgs(message), mod => mod != null && modIDs.Contains(mod.Manifest.UniqueID));
+ this.EventManager.ModMessageReceived.Raise(new ModMessageReceivedEventArgs(message, this.Toolkit.JsonHelper), mod => mod != null && modIDs.Contains(mod.Manifest.UniqueID));
}
/// <summary>Constructor a content manager to read game content files.</summary>