mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 10:17:22 +01:00
Fix empty collection building cache after last change.
This commit is contained in:
parent
ece034cafc
commit
cd1faf5860
1 changed files with 3 additions and 3 deletions
|
|
@ -62,13 +62,13 @@ namespace Penumbra.Mods
|
|||
return;
|
||||
}
|
||||
|
||||
if( DefaultCollection.Cache == null )
|
||||
if( DefaultCollection.Name != ModCollection.Empty.Name && DefaultCollection.Cache == null )
|
||||
DefaultCollection.CreateCache( _manager.TempPath, _manager.StructuredMods.AllMods( _manager.Config.SortFoldersFirst ));
|
||||
|
||||
if( ForcedCollection.Cache == null )
|
||||
if( ForcedCollection.Name != ModCollection.Empty.Name && ForcedCollection.Cache == null )
|
||||
ForcedCollection.CreateCache( _manager.TempPath, _manager.StructuredMods.AllMods( _manager.Config.SortFoldersFirst ) );
|
||||
|
||||
foreach (var (_, collection) in CharacterCollection.Where( kvp => kvp.Value.Cache == null ))
|
||||
foreach (var (_, collection) in CharacterCollection.Where( kvp => kvp.Value.Name != ModCollection.Empty.Name && kvp.Value.Cache == null ))
|
||||
collection.CreateCache( _manager.TempPath, _manager.StructuredMods.AllMods( _manager.Config.SortFoldersFirst ) );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue