mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-31 21:03:48 +01:00
Maybe fix migration for metadata containing mods, also fix negative values in mod collection settings causing problems.
This commit is contained in:
parent
7409d0bc2f
commit
3b2876a6e4
3 changed files with 15 additions and 5 deletions
|
|
@ -70,6 +70,8 @@ public partial class Configuration
|
|||
return;
|
||||
}
|
||||
|
||||
// Ensure the right meta files are loaded.
|
||||
Penumbra.CharacterUtility.LoadCharacterResources();
|
||||
ResettleSortOrder();
|
||||
ResettleCollectionSettings();
|
||||
ResettleForcedCollection();
|
||||
|
|
@ -180,8 +182,8 @@ public partial class Configuration
|
|||
var modName = ( string )setting[ "FolderName" ]!;
|
||||
var enabled = ( bool )setting[ "Enabled" ]!;
|
||||
var priority = ( int )setting[ "Priority" ]!;
|
||||
var settings = setting[ "Settings" ]!.ToObject< Dictionary< string, uint > >()
|
||||
?? setting[ "Conf" ]!.ToObject< Dictionary< string, uint > >();
|
||||
var settings = setting[ "Settings" ]!.ToObject< Dictionary< string, long > >()
|
||||
?? setting[ "Conf" ]!.ToObject< Dictionary< string, long > >();
|
||||
|
||||
dict[ modName ] = new ModSettings.SavedSettings()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue