From 87a81452752dc5408822641a7ee013f56d026666 Mon Sep 17 00:00:00 2001 From: Hondacrx Date: Mon, 26 Aug 2024 16:52:08 -0400 Subject: [PATCH] Core/Commands: Allow to complete tracking quests with .quest complete command Port From (https://github.com/TrinityCore/TrinityCore/commit/97cad9c5986233667821d8e0d20834766651acbf) --- Source/Game/Chat/Commands/QuestCommands.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Game/Chat/Commands/QuestCommands.cs b/Source/Game/Chat/Commands/QuestCommands.cs index 24dd586fc..8e5eac211 100644 --- a/Source/Game/Chat/Commands/QuestCommands.cs +++ b/Source/Game/Chat/Commands/QuestCommands.cs @@ -59,7 +59,7 @@ namespace Game.Chat } // If player doesn't have the quest - if (player.GetQuestStatus(quest.Id) == QuestStatus.None || Global.DisableMgr.IsDisabledFor(DisableType.Quest, quest.Id, null)) + if ((player.GetQuestStatus(quest.Id) == QuestStatus.None && !quest.HasFlag(QuestFlags.TrackingEvent)) || Global.DisableMgr.IsDisabledFor(DisableType.Quest, quest.Id, null)) { handler.SendSysMessage(CypherStrings.CommandQuestNotfound, quest.Id); return false;