Slight bundle & fileutil refactor: (#524)
- Actually load the bundle cache file now - Don't read file as string with StreamReader, instead read with ReadAllTextAsync - Slight refactor to bundle hashing Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
This commit is contained in:
@@ -13,7 +13,7 @@ public class SptServerBackgroundService(IReadOnlyList<SptMod> loadedMods, Bundle
|
||||
{
|
||||
foreach (var mod in loadedMods)
|
||||
{
|
||||
if (mod.ModMetadata?.IsBundleMod == true)
|
||||
if (mod.ModMetadata.IsBundleMod == true)
|
||||
{
|
||||
await bundleLoader.LoadBundlesAsync(mod);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user