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 );

View file

@ -34,6 +34,7 @@ public partial class ConfigWindow
.RegisterEntry( "Updated some tooltips and hints." )
.RegisterEntry( "Improved handling of IMC exception problems." )
.RegisterEntry( "Fixed a bug with misidentification of equipment decals." )
.RegisterEntry( "Character collections can now be set via chat command, too. (/penumbra collection character <collection name> | <character name>)" )
.RegisterEntry( "Backend changes regarding API/IPC, consumers can but do not need to use the Penumbra.Api library as a submodule." )
.RegisterEntry( "Added API to delete mods and read and set their pseudo-filesystem paths.", 1 )
.RegisterEntry( "Added API to check Penumbras enabled state and updates to it.", 1 );