Fix assigning current default to new character.

This commit is contained in:
Ottermandias 2022-10-16 13:00:13 +02:00
parent e281843760
commit b9662e39a9
2 changed files with 10 additions and 2 deletions

View file

@ -340,9 +340,16 @@ public class Penumbra : IDalamudPlugin
return false;
}
if( oldCollection == null && type.IsSpecial() )
if( oldCollection == null )
{
CollectionManager.CreateSpecialCollection( type );
if( type.IsSpecial() )
{
CollectionManager.CreateSpecialCollection( type );
}
else if( type is CollectionType.Character )
{
CollectionManager.CreateCharacterCollection( characterName! );
}
}
CollectionManager.SetCollection( collection, type, characterName );