summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/SCore.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-08-29 18:25:45 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-08-29 18:25:45 -0400
commite0838a28c045939b497455217bd297e8052d11ee (patch)
tree1283afab68c42fd1f426dfdf363c9d0e473f72cc /src/SMAPI/Framework/SCore.cs
parenta1bc96d365dc40275f198668d3f4c09bd7a92613 (diff)
parent8b6c732d7168edacf44d4dbabd8613f2c38ebc19 (diff)
downloadSMAPI-e0838a28c045939b497455217bd297e8052d11ee.tar.gz
SMAPI-e0838a28c045939b497455217bd297e8052d11ee.tar.bz2
SMAPI-e0838a28c045939b497455217bd297e8052d11ee.zip
Merge branch 'develop' into stable
Diffstat (limited to 'src/SMAPI/Framework/SCore.cs')
-rw-r--r--src/SMAPI/Framework/SCore.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/SMAPI/Framework/SCore.cs b/src/SMAPI/Framework/SCore.cs
index 0f86ed6b..16ff2537 100644
--- a/src/SMAPI/Framework/SCore.cs
+++ b/src/SMAPI/Framework/SCore.cs
@@ -1672,13 +1672,15 @@ namespace StardewModdingAPI.Framework
// initialize translations
this.ReloadTranslations(loaded);
+#if SMAPI_DEPRECATED
// set temporary PyTK compatibility mode
- // This is part of a three-part fix for PyTK 1.23.0 and earlier. When removing this,
+ // This is part of a three-part fix for PyTK 1.23.* and earlier. When removing this,
// search 'Platonymous.Toolkit' to find the other part in SMAPI and Content Patcher.
{
IModInfo? pyTk = this.ModRegistry.Get("Platonymous.Toolkit");
- ModContentManager.EnablePyTkLegacyMode = pyTk is not null && pyTk.Manifest.Version.IsOlderThan("1.23.1");
+ ModContentManager.EnablePyTkLegacyMode = pyTk is not null && pyTk.Manifest.Version.IsOlderThan("1.24.0");
}
+#endif
// initialize loaded non-content-pack mods
this.Monitor.Log("Launching mods...", LogLevel.Debug);