summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Constants.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-03-12 01:32:30 -0500
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-03-12 01:32:30 -0500
commit9fab0bf58f7c8b7d38f026bde4230e39049c056b (patch)
treec955b7ee60a28acfe75b393e7ec287aec0489303 /src/StardewModdingAPI/Constants.cs
parent6d2d90b7681e4e274e92742e98905ec4000486ca (diff)
downloadSMAPI-9fab0bf58f7c8b7d38f026bde4230e39049c056b.tar.gz
SMAPI-9fab0bf58f7c8b7d38f026bde4230e39049c056b.tar.bz2
SMAPI-9fab0bf58f7c8b7d38f026bde4230e39049c056b.zip
reject mods which reference obsolete StardewModdingAPI.Extensions class (#247)
Diffstat (limited to 'src/StardewModdingAPI/Constants.cs')
-rw-r--r--src/StardewModdingAPI/Constants.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/StardewModdingAPI/Constants.cs b/src/StardewModdingAPI/Constants.cs
index d8149766..f18e0792 100644
--- a/src/StardewModdingAPI/Constants.cs
+++ b/src/StardewModdingAPI/Constants.cs
@@ -4,6 +4,7 @@ using System.IO;
using System.Linq;
using System.Reflection;
using StardewModdingAPI.AssemblyRewriters;
+using StardewModdingAPI.AssemblyRewriters.Finders;
using StardewModdingAPI.AssemblyRewriters.Rewriters.Crossplatform;
using StardewModdingAPI.AssemblyRewriters.Rewriters.SDV1_2;
using StardewValley;
@@ -140,6 +141,8 @@ namespace StardewModdingAPI
{
return new IInstructionFinder[]
{
+ // APIs removed in SMAPI 1.9
+ new SMAPI_Extensions_MethodFinder()
};
}