//The API and ID are gotten at this event since they're both loaded private void OnSaveLoaded(object sender, SaveLoadedEventArgs e) { ObjectPatches.Initialize(Helper, Monitor); }
//Sets up the event and the patch public override void Entry(IModHelper helper) { helper.Events.GameLoop.SaveLoaded += OnSaveLoaded; ObjectPatches.ApplyPatch(this.ModManifest.UniqueID); }