mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-13 12:14:17 +01:00
Fix Self-Actor for GPose.
This commit is contained in:
parent
1d7829593e
commit
53ff9a8ab3
1 changed files with 1 additions and 1 deletions
|
|
@ -342,7 +342,7 @@ public unsafe partial class PathResolver
|
||||||
{
|
{
|
||||||
collection = null;
|
collection = null;
|
||||||
// Check for the Yourself collection.
|
// 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 );
|
collection = Penumbra.CollectionManager.ByType( CollectionType.Yourself );
|
||||||
if( collection != null )
|
if( collection != null )
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue