Implement module patch abstraction and patch loader (#250)
* Implement patch abstractions and patch loader using an interface * remove patch loader * rename patch class
This commit is contained in:
@@ -29,8 +29,6 @@ public static class Program
|
||||
|
||||
// validate and sort mods, this will also discard any mods that are invalid
|
||||
var sortedLoadedMods = ValidateMods(mods);
|
||||
// for harmony, we use the original list, as some mods may only be bepinex patches only
|
||||
HarmonyBootstrapper.LoadAllPatches(mods.SelectMany(asm => asm.Assemblies).ToList());
|
||||
|
||||
var diHandler = new DependencyInjectionHandler(builder.Services);
|
||||
// register SPT components
|
||||
|
||||
Reference in New Issue
Block a user