mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Fix an exception on inspect identification
This commit is contained in:
parent
cceab7d98d
commit
aecb033537
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ public unsafe partial class PathResolver
|
|||
var nodeId = Dalamud.GameData.GetExcelSheet< Title >()?.GetRow( *_inspectTitleId )?.IsPrefix == true ? 2u : 6u;
|
||||
|
||||
var text = ( AtkTextNode* )ui->UldManager.SearchNodeById( nodeId );
|
||||
return text != null ? text->NodeText.ToString() : null;
|
||||
return text != null && text->AtkResNode.Type == NodeType.Text ? text->NodeText.ToString() : null;
|
||||
}
|
||||
|
||||
// Obtain the name displayed in the Character Card from the agent.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue