Fix Actor 201, maybe.

This commit is contained in:
Ottermandias 2022-09-15 13:07:49 +02:00
parent 2404002041
commit fabbeeae13

View file

@ -243,7 +243,7 @@ public unsafe partial class PathResolver
collection = null; collection = null;
// Check for the Yourself collection. // Check for the Yourself collection.
if( actor->ObjectIndex == 0 if( actor->ObjectIndex == 0
|| actor->ObjectIndex == ObjectReloader.GPosePlayerIdx && name.Length > 0 || Cutscenes.GetParentIndex(actor->ObjectIndex) == 0
|| name == Dalamud.ClientState.LocalPlayer?.Name.ToString() ) || name == Dalamud.ClientState.LocalPlayer?.Name.ToString() )
{ {
collection = Penumbra.CollectionManager.ByType( CollectionType.Yourself ); collection = Penumbra.CollectionManager.ByType( CollectionType.Yourself );