summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/SMultiplayer.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2018-12-03 02:39:20 -0500
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2018-12-04 23:49:06 -0500
commit3744e2f1e5505c9d15fb3bc985ad147a33621048 (patch)
treecf6c6accf9024b553a1772658720f909c6c6b25f /src/SMAPI/Framework/SMultiplayer.cs
parenta2a0469cd024e2fd4b35503db152ba1a6df712ec (diff)
downloadSMAPI-3744e2f1e5505c9d15fb3bc985ad147a33621048.tar.gz
SMAPI-3744e2f1e5505c9d15fb3bc985ad147a33621048.tar.bz2
SMAPI-3744e2f1e5505c9d15fb3bc985ad147a33621048.zip
add SMAPI 3.0 compatibility strict mode (#606)
Diffstat (limited to 'src/SMAPI/Framework/SMultiplayer.cs')
-rw-r--r--src/SMAPI/Framework/SMultiplayer.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/SMAPI/Framework/SMultiplayer.cs b/src/SMAPI/Framework/SMultiplayer.cs
index 629fce1d..12cd2d46 100644
--- a/src/SMAPI/Framework/SMultiplayer.cs
+++ b/src/SMAPI/Framework/SMultiplayer.cs
@@ -82,6 +82,7 @@ namespace StardewModdingAPI.Framework
this.OnModMessageReceived = onModMessageReceived;
}
+#if !SMAPI_3_0_STRICT
/// <summary>Handle sync messages from other players and perform other initial sync logic.</summary>
public override void UpdateEarly()
{
@@ -97,6 +98,7 @@ namespace StardewModdingAPI.Framework
base.UpdateLate(forceSync);
this.EventManager.Legacy_AfterMainBroadcast.Raise();
}
+#endif
/// <summary>Initialise a client before the game connects to a remote server.</summary>
/// <param name="client">The client to initialise.</param>