Exclude custom delivery quests from priority window (as they can't be started this...
authorLiza Carvelli <liza@carvel.li>
Wed, 11 Sep 2024 19:10:48 +0000 (21:10 +0200)
committerLiza Carvelli <liza@carvel.li>
Wed, 11 Sep 2024 19:10:48 +0000 (21:10 +0200)
Questionable/Windows/PriorityWindow.cs

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