mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-15 05:04:15 +01:00
Fix assigning current default to new character.
This commit is contained in:
parent
e281843760
commit
b9662e39a9
2 changed files with 10 additions and 2 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue