forked from liza/Questionable
Exclude custom delivery quests from priority window (as they can't be started this way)
This commit is contained in:
parent
f2591790f7
commit
3c219ae7d0
@ -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));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user