mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08: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