mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-30 04:13:43 +01:00
Fix crash.
This commit is contained in:
parent
6776a7fa7e
commit
4ef8eeb042
2 changed files with 2 additions and 2 deletions
|
|
@ -200,7 +200,7 @@ public unsafe partial class PathResolver
|
|||
}
|
||||
else if( gameObject->OwnerID != 0xE0000000 )
|
||||
{
|
||||
owner = ( GameObject* )Dalamud.Objects.SearchById( gameObject->OwnerID )?.Address;
|
||||
owner = ( GameObject* )(Dalamud.Objects.SearchById( gameObject->OwnerID )?.Address ?? IntPtr.Zero);
|
||||
}
|
||||
|
||||
if( owner != null )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue