mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 09:17:18 +00:00
Merge branch 'azerothcore:master' into Playerbot
This commit is contained in:
@@ -600,6 +600,11 @@ void Player::CompleteQuest(uint32 quest_id)
|
||||
return;
|
||||
}
|
||||
|
||||
if (!sScriptMgr->OnBeforePlayerQuestComplete(this, quest_id))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
SetQuestStatus(quest_id, QUEST_STATUS_COMPLETE);
|
||||
|
||||
auto log_slot = FindQuestSlot(quest_id);
|
||||
|
||||
Reference in New Issue
Block a user