Core/Commands: Don't re-add active quests with ".quest add" command

(cherry picked from commit f17120cc78)
This commit is contained in:
jackpoz
2019-02-24 18:46:35 +01:00
committed by Shauren
parent ead8e2f534
commit 97401a2997

View File

@@ -95,6 +95,9 @@ public:
return false;
}
if (player->IsActiveQuest(entry))
return false;
// ok, normal (creature/GO starting) quest
if (player->CanAddQuest(quest, true))
player->AddQuestAndCheckCompletion(quest, nullptr);