fix missing log

This commit is contained in:
Atidot3
2024-07-30 14:50:28 +02:00
parent 0008d84f71
commit 15a6ce4735

View File

@@ -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;
}