From aecb033537f6655ae146b315d0d52c7765fe9d29 Mon Sep 17 00:00:00 2001 From: Ottermandias Date: Fri, 9 Sep 2022 22:23:51 +0200 Subject: [PATCH] Fix an exception on inspect identification --- Penumbra/Interop/Resolver/PathResolver.Identification.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Penumbra/Interop/Resolver/PathResolver.Identification.cs b/Penumbra/Interop/Resolver/PathResolver.Identification.cs index 39efe25b..1ebc0a8a 100644 --- a/Penumbra/Interop/Resolver/PathResolver.Identification.cs +++ b/Penumbra/Interop/Resolver/PathResolver.Identification.cs @@ -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.