fix: compute text value later
This commit is contained in:
parent
3a88d044f9
commit
23895f6b86
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue