mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-14 04:34:19 +01:00
Turn Collections to List instead of Dict.
This commit is contained in:
parent
9c0fc8a8c7
commit
519543772c
9 changed files with 50 additions and 36 deletions
|
|
@ -82,7 +82,7 @@ public static class ModManagerEditExtensions
|
|||
manager.Config.Save();
|
||||
}
|
||||
|
||||
foreach( var collection in Penumbra.CollectionManager.Collections.Values )
|
||||
foreach( var collection in Penumbra.CollectionManager.Collections )
|
||||
{
|
||||
if( collection.Settings.TryGetValue( oldBasePath.Name, out var settings ) )
|
||||
{
|
||||
|
|
@ -140,7 +140,7 @@ public static class ModManagerEditExtensions
|
|||
|
||||
mod.SaveMeta();
|
||||
|
||||
foreach( var collection in Penumbra.CollectionManager.Collections.Values )
|
||||
foreach( var collection in Penumbra.CollectionManager.Collections )
|
||||
{
|
||||
if( !collection.Settings.TryGetValue( mod.BasePath.Name, out var settings ) )
|
||||
{
|
||||
|
|
@ -176,7 +176,7 @@ public static class ModManagerEditExtensions
|
|||
return ( oldSetting & bitmaskFront ) | ( ( oldSetting & bitmaskBack ) >> 1 );
|
||||
}
|
||||
|
||||
foreach( var collection in Penumbra.CollectionManager.Collections.Values )
|
||||
foreach( var collection in Penumbra.CollectionManager.Collections )
|
||||
{
|
||||
if( !collection.Settings.TryGetValue( mod.BasePath.Name, out var settings ) )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue