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

Port From (https://github.com/TrinityCore/TrinityCore/commit/97401a29972bc2a4313c78a2cfdb2bac9becc5cd)
This commit is contained in:
hondacrx
2021-11-23 22:55:20 -05:00
parent 387c101475
commit 3e31601ba5
@@ -60,6 +60,9 @@ namespace Game.Chat
return false;
}
if (player.IsActiveQuest(entry))
return false;
// ok, normal (creature/GO starting) quest
if (player.CanAddQuest(quest, true))
player.AddQuestAndCheckCompletion(quest, null);