mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
fix missing log
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user