Change entirely backward compatible API functions to do reasonable things in new system.

This commit is contained in:
Ottermandias 2022-11-19 20:12:15 +01:00
parent 2fac923452
commit 893e0a13bd
3 changed files with 135 additions and 39 deletions

View file

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