summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-03-12 18:25:29 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-03-12 18:25:29 -0400
commitccc57935de9b75e17b9f531df87e2ac4dac43dfc (patch)
tree907ba213250089a2833939822950ace659e56fce /src/StardewModdingAPI
parenta6ed67a9f763b5efab58589776e8eaa31a4f2dbc (diff)
downloadSMAPI-ccc57935de9b75e17b9f531df87e2ac4dac43dfc.tar.gz
SMAPI-ccc57935de9b75e17b9f531df87e2ac4dac43dfc.tar.bz2
SMAPI-ccc57935de9b75e17b9f531df87e2ac4dac43dfc.zip
replace individual instruction finders with generic implementations (#247)
Diffstat (limited to 'src/StardewModdingAPI')
-rw-r--r--src/StardewModdingAPI/Constants.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/StardewModdingAPI/Constants.cs b/src/StardewModdingAPI/Constants.cs
index 1e1ca325..4c1c7a8e 100644
--- a/src/StardewModdingAPI/Constants.cs
+++ b/src/StardewModdingAPI/Constants.cs
@@ -142,12 +142,12 @@ namespace StardewModdingAPI
return new IInstructionFinder[]
{
// changes in Stardew Valley 1.2
- new Game1_borderFont_FieldFinder(),
- new Game1_smoothFont_FieldFinder(),
+ new GenericFieldFinder("Game1", "borderFont", isStatic: true),
+ new GenericFieldFinder("Game1", "smoothFont", isStatic: true),
// APIs removed in SMAPI 1.9
- new SMAPI_Extensions_MethodFinder(),
- new GenericTypeFinder("StardewModdingAPI.Inheritance.SGame", "obsolete StardewModdingAPI.SGame class")
+ new GenericTypeFinder("StardewModdingAPI.Extensions"),
+ new GenericTypeFinder("StardewModdingAPI.Inheritance.SGame")
};
}