mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-30 04:13:43 +01:00
Do not check every identifier.
This commit is contained in:
parent
03bbba6735
commit
f676bd1889
5 changed files with 32 additions and 18 deletions
|
|
@ -8,7 +8,6 @@ using FFXIVClientStructs.FFXIV.Client.Game.Object;
|
|||
using Penumbra.Api;
|
||||
using FFXIVClientStructs.FFXIV.Client.Graphics.Scene;
|
||||
using OtterGui.Classes;
|
||||
using Penumbra.GameData.Actors;
|
||||
using Penumbra.GameData.Enums;
|
||||
using Penumbra.String.Classes;
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ public unsafe partial class PathResolver
|
|||
}
|
||||
else
|
||||
{
|
||||
var identifier = Penumbra.Actors.FromObject( gameObject );
|
||||
var identifier = Penumbra.Actors.FromObject( gameObject, false );
|
||||
var collection = CollectionByIdentifier( identifier )
|
||||
?? CheckYourself( identifier, gameObject )
|
||||
?? CollectionByAttributes( gameObject )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue