mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-15 05:04:15 +01:00
Check Yourself assignment for special actors.
This commit is contained in:
parent
114ed5954e
commit
bfddcdd7e2
4 changed files with 20 additions and 19 deletions
|
|
@ -333,7 +333,7 @@ public class PenumbraApi : IDisposable, IPenumbraApi
|
|||
public (string, bool) GetCharacterCollection( string characterName, ushort worldId )
|
||||
{
|
||||
CheckInitialized();
|
||||
return Penumbra.CollectionManager.Individuals.TryGetCollection( NameToIdentifier( characterName, worldId ), out var collection )
|
||||
return Penumbra.CollectionManager.Individuals.TryGetCollection( NameToIdentifier( characterName, worldId ), out var collection, out _ )
|
||||
? ( collection.Name, true )
|
||||
: ( Penumbra.CollectionManager.Default.Name, false );
|
||||
}
|
||||
|
|
@ -807,7 +807,7 @@ public class PenumbraApi : IDisposable, IPenumbraApi
|
|||
{
|
||||
CheckInitialized();
|
||||
var identifier = NameToIdentifier( characterName, worldId );
|
||||
var collection = Penumbra.TempMods.Collections.TryGetCollection( identifier, out var c )
|
||||
var collection = Penumbra.TempMods.Collections.TryGetCollection( identifier, out var c, out _ )
|
||||
? c
|
||||
: Penumbra.CollectionManager.Individual( identifier );
|
||||
var set = collection.MetaCache?.Manipulations.ToArray() ?? Array.Empty< MetaManipulation >();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue