Fix unnamed actions appearing in identification.

This commit is contained in:
Ottermandias 2021-07-22 13:11:07 +02:00
parent ac2968a6a8
commit b9340e7c44

View file

@ -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;