summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/SGame.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-06-15 19:08:02 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-06-15 19:08:02 -0400
commit02e7318d2b99d311a328746b23a359364575f0c5 (patch)
treead1de7e9991235b3262e1ab68c3b6e4159742b28 /src/SMAPI/Framework/SGame.cs
parentda95a906bf8e812ddcd99a90a4d49942f02f5623 (diff)
downloadSMAPI-02e7318d2b99d311a328746b23a359364575f0c5.tar.gz
SMAPI-02e7318d2b99d311a328746b23a359364575f0c5.tar.bz2
SMAPI-02e7318d2b99d311a328746b23a359364575f0c5.zip
merge inconsistent event raise methods
Diffstat (limited to 'src/SMAPI/Framework/SGame.cs')
-rw-r--r--src/SMAPI/Framework/SGame.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/Framework/SGame.cs b/src/SMAPI/Framework/SGame.cs
index 2a30b595..23358afb 100644
--- a/src/SMAPI/Framework/SGame.cs
+++ b/src/SMAPI/Framework/SGame.cs
@@ -240,7 +240,7 @@ namespace StardewModdingAPI.Framework
modIDs.Remove(message.FromModID); // don't send a broadcast back to the sender
// raise events
- this.Events.ModMessageReceived.RaiseForMods(new ModMessageReceivedEventArgs(message), mod => mod != null && modIDs.Contains(mod.Manifest.UniqueID));
+ this.Events.ModMessageReceived.Raise(new ModMessageReceivedEventArgs(message), mod => mod != null && modIDs.Contains(mod.Manifest.UniqueID));
}
/// <summary>A callback invoked when custom content is removed from the save data to avoid a crash.</summary>