mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-30 12:23:41 +01:00
Change entirely backward compatible API functions to do reasonable things in new system.
This commit is contained in:
parent
2fac923452
commit
893e0a13bd
3 changed files with 135 additions and 39 deletions
|
|
@ -76,7 +76,7 @@ public unsafe partial class PathResolver
|
|||
|
||||
// Check both temporary and permanent character collections. Temporary first.
|
||||
private static ModCollection? CollectionByIdentifier( ActorIdentifier identifier )
|
||||
=> Penumbra.TempMods.Collections.TryGetValue( identifier.ToString(), out var collection )
|
||||
=> Penumbra.TempMods.Collections.TryGetCollection( identifier, out var collection )
|
||||
|| Penumbra.CollectionManager.Individuals.TryGetCollection( identifier, out collection )
|
||||
? collection
|
||||
: null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue