mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 09:07:19 +00:00
Questdetails popup for bots without quest attached. (#705)
This commit is contained in:
@@ -167,6 +167,9 @@ bool ConfirmQuestAction::Execute(Event event)
|
||||
p >> quest;
|
||||
Quest const* qInfo = sObjectMgr->GetQuestTemplate(quest);
|
||||
|
||||
if (!qInfo)
|
||||
return false;
|
||||
|
||||
quest = qInfo->GetQuestId();
|
||||
if (!bot->CanTakeQuest(qInfo, false))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user