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

(cherry picked from commit f17120cc784ee1f52a24424a78a64d71ad73b713)
This commit is contained in:
jackpoz
2021-11-24 00:02:13 +01:00
committed by Shauren
parent ead8e2f534
commit 97401a2997
+3
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);