Core/Commands: Allow to complete tracking quests with .quest complete command

Port From (https://github.com/TrinityCore/TrinityCore/commit/97cad9c5986233667821d8e0d20834766651acbf)
This commit is contained in:
Hondacrx
2024-08-26 16:52:08 -04:00
parent 7f01c4b82e
commit 87a8145275
+1 -1
View File
@@ -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;