From 53ff9a8ab3fc93e8b9d3697ae11c0b05ba9135cc Mon Sep 17 00:00:00 2001 From: Ottermandias Date: Fri, 1 Jul 2022 16:20:47 +0200 Subject: [PATCH] Fix Self-Actor for GPose. --- Penumbra/Interop/Resolver/PathResolver.Data.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Penumbra/Interop/Resolver/PathResolver.Data.cs b/Penumbra/Interop/Resolver/PathResolver.Data.cs index 42e201ae..253cb0e0 100644 --- a/Penumbra/Interop/Resolver/PathResolver.Data.cs +++ b/Penumbra/Interop/Resolver/PathResolver.Data.cs @@ -342,7 +342,7 @@ public unsafe partial class PathResolver { collection = null; // Check for the Yourself collection. - if( actor->ObjectIndex == 0 || name == Dalamud.ClientState.LocalPlayer?.Name.ToString() ) + if( actor->ObjectIndex is 0 or ObjectReloader.GPosePlayerIdx || name == Dalamud.ClientState.LocalPlayer?.Name.ToString() ) { collection = Penumbra.CollectionManager.ByType( CollectionType.Yourself ); if( collection != null )