summaryrefslogtreecommitdiff
path: root/src/SMAPI.Mods.ErrorHandler/ModPatches/PyTkPatcher.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-08-29 18:17:53 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-08-29 18:17:53 -0400
commit47a68fbb7bb6afc9ecaa3a13b450ddc865754de8 (patch)
treeb29cb0bf801a56973a7595b2293f5eda01c3c7c0 /src/SMAPI.Mods.ErrorHandler/ModPatches/PyTkPatcher.cs
parent2bb8e8353ba35c2db96f88a052400997232d25f8 (diff)
downloadSMAPI-47a68fbb7bb6afc9ecaa3a13b450ddc865754de8.tar.gz
SMAPI-47a68fbb7bb6afc9ecaa3a13b450ddc865754de8.tar.bz2
SMAPI-47a68fbb7bb6afc9ecaa3a13b450ddc865754de8.zip
deprecate PyTK compatibility mode
Diffstat (limited to 'src/SMAPI.Mods.ErrorHandler/ModPatches/PyTkPatcher.cs')
-rw-r--r--src/SMAPI.Mods.ErrorHandler/ModPatches/PyTkPatcher.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/SMAPI.Mods.ErrorHandler/ModPatches/PyTkPatcher.cs b/src/SMAPI.Mods.ErrorHandler/ModPatches/PyTkPatcher.cs
index 83cd42b9..f084902a 100644
--- a/src/SMAPI.Mods.ErrorHandler/ModPatches/PyTkPatcher.cs
+++ b/src/SMAPI.Mods.ErrorHandler/ModPatches/PyTkPatcher.cs
@@ -1,3 +1,4 @@
+#if SMAPI_DEPRECATED
using System;
using System.Diagnostics.CodeAnalysis;
using System.Reflection;
@@ -77,3 +78,4 @@ namespace StardewModdingAPI.Mods.ErrorHandler.ModPatches
}
}
}
+#endif