Fix print about invalid format (#739)

This commit is contained in:
Revision 2024-11-24 22:09:04 +01:00 committed by GitHub
parent eb583de6aa
commit f925db1ca4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -86,7 +86,7 @@ bool AcceptQuestAction::Execute(Event event)
if (hasAccept) if (hasAccept)
{ {
std::stringstream ss; std::stringstream ss;
ss << "AcceptQuestAction {" << qInfo->GetTitle() << "} - {" << std::to_string(qInfo->GetQuestId()) << "}"; ss << "AcceptQuestAction [" << qInfo->GetTitle() << "] - [" << std::to_string(qInfo->GetQuestId()) << "]";
LOG_INFO("playerbots", "{}", ss.str().c_str()); LOG_INFO("playerbots", "{}", ss.str().c_str());
// botAI->TellMaster(ss.str()); // botAI->TellMaster(ss.str());
} }