summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/StardewModdingAPI/Constants.cs5
-rw-r--r--src/StardewModdingAPI/StardewModdingAPI.config.json16
2 files changed, 3 insertions, 18 deletions
diff --git a/src/StardewModdingAPI/Constants.cs b/src/StardewModdingAPI/Constants.cs
index de0eab57..1f1b6a65 100644
--- a/src/StardewModdingAPI/Constants.cs
+++ b/src/StardewModdingAPI/Constants.cs
@@ -8,6 +8,7 @@ using StardewModdingAPI.AssemblyRewriters;
using StardewModdingAPI.AssemblyRewriters.Finders;
using StardewModdingAPI.AssemblyRewriters.Rewriters;
using StardewModdingAPI.AssemblyRewriters.Rewriters.Wrappers;
+using StardewModdingAPI.Events;
using StardewValley;
namespace StardewModdingAPI
@@ -153,7 +154,6 @@ namespace StardewModdingAPI
new TypeFinder("StardewModdingAPI.Advanced.IConfigFile"),
new TypeFinder("StardewModdingAPI.Entities.SPlayer"),
new TypeFinder("StardewModdingAPI.Extensions"),
- new TypeFinder("StardewModdingAPI.Inheritance.ItemStackChange"),
new TypeFinder("StardewModdingAPI.Inheritance.SGame"),
new TypeFinder("StardewModdingAPI.Inheritance.SObject"),
new TypeFinder("StardewModdingAPI.LogWriter"),
@@ -177,7 +177,8 @@ namespace StardewModdingAPI
new FieldToPropertyRewriter(typeof(Game1), nameof(Game1.gameMode)),
new FieldToPropertyRewriter(typeof(Game1), nameof(Game1.player)),
new FieldReplaceRewriter(typeof(Game1), "borderFont", nameof(Game1.smallFont)),
- new FieldReplaceRewriter(typeof(Game1), "smoothFont", nameof(Game1.smallFont))
+ new FieldReplaceRewriter(typeof(Game1), "smoothFont", nameof(Game1.smallFont)),
+ new TypeReferenceRewriter("StardewModdingAPI.Inheritance.ItemStackChange", typeof(ItemStackChange))
};
}
diff --git a/src/StardewModdingAPI/StardewModdingAPI.config.json b/src/StardewModdingAPI/StardewModdingAPI.config.json
index da6d3730..a254fdd0 100644
--- a/src/StardewModdingAPI/StardewModdingAPI.config.json
+++ b/src/StardewModdingAPI/StardewModdingAPI.config.json
@@ -54,14 +54,6 @@ This file contains advanced configuration for SMAPI. You generally shouldn't cha
"Notes": "Uses obsolete StardewModdingAPI.Extensions."
},
{
- "Name": "Casks Anywhere",
- "ID": "CasksAnywhere",
- "Compatibility": "AssumeBroken",
- "UpperVersion": "1.1",
- "UpdateUrl": "http://www.nexusmods.com/stardewvalley/mods/878",
- "Notes": "Uses obsolete StardewModdingAPI.Inheritance.ItemStackChange."
- },
- {
"Name": "Chest Label System",
"ID": "SPDChestLabel",
"UpperVersion": "1.5",
@@ -183,14 +175,6 @@ This file contains advanced configuration for SMAPI. You generally shouldn't cha
"Notes": "Uses obsolete StardewModdingAPI.Extensions."
},
{
- "Name": "Reusable Wallpapers",
- "ID": "dae1b553-2e39-43e7-8400-c7c5c836134b",
- "UpperVersion": "1.5",
- "Compatibility": "AssumeBroken",
- "UpdateUrl": "http://www.nexusmods.com/stardewvalley/mods/356",
- "Notes": "Uses obsolete StardewModdingAPI.Inheritance.ItemStackChange."
- },
- {
"Name": "Save Anywhere",
"ID": "SaveAnywhere",
"UpperVersion": "2.0",