mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
fix missing log
This commit is contained in:
parent
0008d84f71
commit
15a6ce4735
@ -133,7 +133,12 @@ bool QuestAction::CompleteQuest(Player* player, uint32 entry)
|
||||
}
|
||||
|
||||
player->CompleteQuest(entry);
|
||||
if (botAI->HasStrategy("debug quest", BotState::BOT_STATE_NON_COMBAT) || botAI->HasStrategy("debug rpg", BotState::BOT_STATE_COMBAT))
|
||||
{
|
||||
bot->Say("Quest [ " + ChatHelper::FormatQuest(pQuest) + " ] completed", LANG_UNIVERSAL);
|
||||
}
|
||||
|
||||
botAI->TellMasterNoFacing("Quest completed " + ChatHelper::FormatQuest(pQuest));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user