summaryrefslogtreecommitdiff
path: root/src/SMAPI
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI')
-rw-r--r--src/SMAPI/Framework/Events/ModMultiplayerEvents.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/Framework/Events/ModMultiplayerEvents.cs b/src/SMAPI/Framework/Events/ModMultiplayerEvents.cs
index 64cf0355..2f9b9482 100644
--- a/src/SMAPI/Framework/Events/ModMultiplayerEvents.cs
+++ b/src/SMAPI/Framework/Events/ModMultiplayerEvents.cs
@@ -19,7 +19,7 @@ namespace StardewModdingAPI.Framework.Events
/// <summary>Raised after a peer connection is approved by the game.</summary>
public event EventHandler<PeerConnectedEventArgs> PeerConnected
{
- add => this.EventManager.PeerConnected.Add(value);
+ add => this.EventManager.PeerConnected.Add(value, this.Mod);
remove => this.EventManager.PeerConnected.Remove(value);
}