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:
@@ -59,7 +59,7 @@ namespace Game.Chat
|
|||||||
}
|
}
|
||||||
|
|
||||||
// If player doesn't have the quest
|
// 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);
|
handler.SendSysMessage(CypherStrings.CommandQuestNotfound, quest.Id);
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user