diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-03-12 01:32:30 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-03-12 01:32:30 -0500 |
commit | 9fab0bf58f7c8b7d38f026bde4230e39049c056b (patch) | |
tree | c955b7ee60a28acfe75b393e7ec287aec0489303 /src/StardewModdingAPI/Constants.cs | |
parent | 6d2d90b7681e4e274e92742e98905ec4000486ca (diff) | |
download | SMAPI-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.cs | 3 |
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() }; } |