From 3e31601ba54d5fcff855b07b4f4d607799ca3a53 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Tue, 23 Nov 2021 22:55:20 -0500 Subject: [PATCH] Core/Commands: Don't re-add active quests with ".quest add" command Port From (https://github.com/TrinityCore/TrinityCore/commit/97401a29972bc2a4313c78a2cfdb2bac9becc5cd) --- Source/Game/Chat/Commands/QuestCommands.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/Game/Chat/Commands/QuestCommands.cs b/Source/Game/Chat/Commands/QuestCommands.cs index 42f1347ae..74655b6ce 100644 --- a/Source/Game/Chat/Commands/QuestCommands.cs +++ b/Source/Game/Chat/Commands/QuestCommands.cs @@ -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);