Exclude custom delivery quests from priority window (as they can't be started this way)

pull/45/head
Liza 2024-09-11 21:10:48 +02:00
parent f2591790f7
commit 3c219ae7d0
Signed by: liza
GPG Key ID: 7199F8D727D55F67
1 changed files with 1 additions and 0 deletions

View File

@ -80,6 +80,7 @@ internal sealed class PriorityWindow : LWindow
if (!string.IsNullOrEmpty(_searchString)) if (!string.IsNullOrEmpty(_searchString))
{ {
foundQuests = _questRegistry.AllQuests foundQuests = _questRegistry.AllQuests
.Where(x => x.Id is not SatisfactionSupplyNpcId)
.Where(x => x.Info.Name.Contains(_searchString, StringComparison.CurrentCultureIgnoreCase)) .Where(x => x.Info.Name.Contains(_searchString, StringComparison.CurrentCultureIgnoreCase))
.Where(x => !_questFunctions.IsQuestUnobtainable(x.Id)); .Where(x => !_questFunctions.IsQuestUnobtainable(x.Id));
} }