Make 'CompleteQuest' work with ItemId → UseItem

This commit is contained in:
Liza 2025-01-11 17:00:04 +01:00
parent 108d103fd8
commit ad76ccf057
Signed by: liza
GPG Key ID: 2C41B84815CF6445

View File

@ -29,7 +29,7 @@ internal static class UseItem
{ {
public IEnumerable<ITask> CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step) public IEnumerable<ITask> CreateAllTasks(Quest quest, QuestSequence sequence, QuestStep step)
{ {
if (step.InteractionType is EInteractionType.SinglePlayerDuty) if (step.InteractionType is EInteractionType.SinglePlayerDuty or EInteractionType.CompleteQuest)
{ {
if (step.ItemId == null) if (step.ItemId == null)
return []; return [];