From b9340e7c4409f28c557befe491984e63559ee36b Mon Sep 17 00:00:00 2001 From: Ottermandias Date: Thu, 22 Jul 2021 13:11:07 +0200 Subject: [PATCH] Fix unnamed actions appearing in identification. --- Penumbra/Game/ObjectIdentification.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Penumbra/Game/ObjectIdentification.cs b/Penumbra/Game/ObjectIdentification.cs index 5e7afc8a..9f3ed287 100644 --- a/Penumbra/Game/ObjectIdentification.cs +++ b/Penumbra/Game/ObjectIdentification.cs @@ -112,7 +112,8 @@ namespace Penumbra.Game } _actions = new Dictionary< string, HashSet< Action > >(); - foreach( var action in plugin.Data.GetExcelSheet< Action >( plugin.ClientState.ClientLanguage ) ) + foreach( var action in plugin.Data.GetExcelSheet< Action >( plugin.ClientState.ClientLanguage ) + .Where( a => a.Name.ToString().Any() ) ) { var startKey = action.AnimationStart?.Value?.Name?.Value?.Key.ToString() ?? string.Empty; var endKey = action.AnimationEnd?.Value?.Key.ToString() ?? string.Empty;