diff --git a/src/Lurker.UI/ViewModels/ItemOverlayViewModel.cs b/src/Lurker.UI/ViewModels/ItemOverlayViewModel.cs index 1450786f..3a3eb8b3 100644 --- a/src/Lurker.UI/ViewModels/ItemOverlayViewModel.cs +++ b/src/Lurker.UI/ViewModels/ItemOverlayViewModel.cs @@ -94,7 +94,7 @@ public ItemOverlayViewModel(PoeItem item, Action closeAction) /// /// Gets the important affixed. /// - public IEnumerable ImportantAffixes => this._item.ImportantAffixes.Select(i => new AffixViewModel(i)); + public IEnumerable ImportantAffixes => this._item.ImportantAffixes.Where(i => i != null).Select(i => new AffixViewModel(i)); #endregion diff --git a/src/Lurker/Models/Gloves.cs b/src/Lurker/Models/Gloves.cs index 3380ab48..d73d8975 100644 --- a/src/Lurker/Models/Gloves.cs +++ b/src/Lurker/Models/Gloves.cs @@ -37,7 +37,7 @@ public Gloves(string value) /// public override IEnumerable ImportantAffixes => new Affix[] { - AffixService.AttackSpeedAffix(this), + AffixService.AttackSpeedAffix(this) }; #endregion