mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-15 05:04:15 +01:00
Use IndividualCollections in PathResolver.
This commit is contained in:
parent
f8c0702432
commit
6a6eac1c3b
10 changed files with 128 additions and 245 deletions
|
|
@ -332,7 +332,7 @@ public class Penumbra : IDalamudPlugin
|
|||
}
|
||||
|
||||
string? characterName = null;
|
||||
if( type is CollectionType.Character )
|
||||
if( type is CollectionType.Individual )
|
||||
{
|
||||
var split = collectionName.Split( '|', 2, StringSplitOptions.RemoveEmptyEntries | StringSplitOptions.TrimEntries );
|
||||
if( split.Length < 2 || split[ 0 ].Length == 0 || split[ 1 ].Length == 0 )
|
||||
|
|
@ -368,7 +368,7 @@ public class Penumbra : IDalamudPlugin
|
|||
{
|
||||
CollectionManager.CreateSpecialCollection( type );
|
||||
}
|
||||
else if( type is CollectionType.Character )
|
||||
else if( type is CollectionType.Individual )
|
||||
{
|
||||
CollectionManager.CreateCharacterCollection( characterName! );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue