fixed missing import for customitemservice, added bundle loading sequence in the program.cs (#333)

* Added missing import for reflection /bonk

* Implemented bundles.json loading directly into program.cs

`IsBundleMod` is now read from all loaded mods metadata, and if set to true the bundles.json is read from the mod directory.

* re-assign the sorted valid mods to the loadedMods list

since ValidateMods returns the sortedLoadedMods, this is the list of mods we should be passing to our other spots

---------

Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
This commit is contained in:
GrooveypenguinX
2025-06-01 10:34:14 -04:00
committed by GitHub
parent 2357fd4a4f
commit f4428deccf
2 changed files with 22 additions and 0 deletions
@@ -7,6 +7,7 @@ using SPTarkov.Server.Core.Models.Spt.Mod;
using SPTarkov.Server.Core.Models.Utils;
using SPTarkov.Server.Core.Utils;
using SPTarkov.Server.Core.Utils.Cloners;
using System.Reflection;
namespace SPTarkov.Server.Core.Services.Mod;