fix: compute text value later

This commit is contained in:
Anna 2021-05-20 13:49:41 -04:00
parent 3a88d044f9
commit 23895f6b86
1 changed files with 2 additions and 2 deletions

View File

@ -183,13 +183,13 @@ namespace NoSoliciting {
return (null, null);
}
var desc = listing.Description.TextValue;
// step 1. check if pf has an item level that's too high
if (this.Plugin.Config.FilterHugeItemLevelPFs && listing.MinimumItemLevel > FilterUtil.MaxItemLevelAttainable(this.Plugin.Interface.Data)) {
return (null, "ilvl");
}
var desc = listing.Description.TextValue;
// step 2. check custom filters
if (this.Plugin.Config.CustomPFFilter && PartyFinder.MatchesCustomFilters(desc, this.Plugin.Config)) {
return (null, "custom");