Remove duplicate message spam

This commit is contained in:
Yunfan Li
2024-08-14 17:04:00 +08:00
parent e8651b0b29
commit be4deb62cf

View File

@@ -171,7 +171,7 @@ bool ConfirmQuestAction::Execute(Event event)
if (!bot->CanTakeQuest(qInfo, false)) if (!bot->CanTakeQuest(qInfo, false))
{ {
// can't take quest // can't take quest
botAI->TellError("quest_cant_take"); // botAI->TellError("quest_cant_take");
return false; return false;
} }
@@ -187,7 +187,7 @@ bool ConfirmQuestAction::Execute(Event event)
bot->CastSpell(bot, qInfo->GetSrcSpell(), true); bot->CastSpell(bot, qInfo->GetSrcSpell(), true);
} }
botAI->TellMaster("quest_accept"); // botAI->TellMaster("quest_accept");
return true; return true;
} }