mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 17:05:44 +01:00
Core/Commands: Allow to complete tracking quests with .quest complete command (#30043)
(cherry picked from commit 97cad9c598)
This commit is contained in:
@@ -225,7 +225,7 @@ public:
|
||||
}
|
||||
|
||||
// If player doesn't have the quest
|
||||
if (player->GetQuestStatus(quest->GetQuestId()) == QUEST_STATUS_NONE
|
||||
if ((player->GetQuestStatus(quest->GetQuestId()) == QUEST_STATUS_NONE && !quest->HasFlag(QUEST_FLAGS_TRACKING_EVENT))
|
||||
|| DisableMgr::IsDisabledFor(DISABLE_TYPE_QUEST, quest->GetQuestId(), nullptr))
|
||||
{
|
||||
handler->PSendSysMessage(LANG_COMMAND_QUEST_NOTFOUND, quest->GetQuestId());
|
||||
|
||||
Reference in New Issue
Block a user