Add missing condition that sometimees stops the plugin from working
This commit is contained in:
parent
76822cd50a
commit
c04ff759cd
@ -78,6 +78,7 @@ internal sealed class AllaganToolsIpc : IDisposable
|
||||
var characters = Characters.All.ToDictionary(x => x.CharacterId, x => x);
|
||||
return Inventories.All
|
||||
.Where(x => !_configuration.ExcludedCharacters.Contains(x.Key))
|
||||
.Where(x => characters.ContainsKey(x.Value.CharacterId))
|
||||
.ToDictionary(
|
||||
x => characters[x.Value.CharacterId],
|
||||
y =>
|
||||
|
Loading…
Reference in New Issue
Block a user