Core/Quests: Fixed quest dialog not closing automatically when there are no other follow-up quests for the quest giver
Port From (https://github.com/TrinityCore/TrinityCore/commit/78b3f6309fa2d20fdd8a45a442cef55054b44ac6)
This commit is contained in:
@@ -2847,7 +2847,7 @@ namespace Game.Entities
|
||||
if (questGiver.IsGossip())
|
||||
packet.LaunchGossip = true;
|
||||
else if (questGiver.IsQuestGiver())
|
||||
packet.LaunchQuest = true;
|
||||
packet.LaunchQuest = (GetQuestDialogStatus(questGiver) & ~QuestGiverStatus.Future) != QuestGiverStatus.None;
|
||||
else if (quest.NextQuestInChain != 0 && !quest.HasFlag(QuestFlags.AutoComplete))
|
||||
{
|
||||
Quest rewardQuest = Global.ObjectMgr.GetQuestTemplate(quest.NextQuestInChain);
|
||||
|
||||
Reference in New Issue
Block a user