From be4deb62cffef5cb672461a906b24c69a41adc18 Mon Sep 17 00:00:00 2001 From: Yunfan Li Date: Wed, 14 Aug 2024 17:04:00 +0800 Subject: [PATCH] Remove duplicate message spam --- src/strategy/actions/AcceptQuestAction.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/strategy/actions/AcceptQuestAction.cpp b/src/strategy/actions/AcceptQuestAction.cpp index 882e65ca..72abeef9 100644 --- a/src/strategy/actions/AcceptQuestAction.cpp +++ b/src/strategy/actions/AcceptQuestAction.cpp @@ -171,7 +171,7 @@ bool ConfirmQuestAction::Execute(Event event) if (!bot->CanTakeQuest(qInfo, false)) { // can't take quest - botAI->TellError("quest_cant_take"); + // botAI->TellError("quest_cant_take"); return false; } @@ -187,7 +187,7 @@ bool ConfirmQuestAction::Execute(Event event) bot->CastSpell(bot, qInfo->GetSrcSpell(), true); } - botAI->TellMaster("quest_accept"); + // botAI->TellMaster("quest_accept"); return true; }