Hook for player data loading from db

This commit is contained in:
Yehonal
2017-03-25 12:42:48 +01:00
parent 945b35f5eb
commit 4fdaa4444e
3 changed files with 11 additions and 0 deletions

View File

@@ -17796,6 +17796,8 @@ bool Player::LoadFromDB(uint32 guid, SQLQueryHolder *holder)
InitTaxiNodesForLevel();
InitRunes();
sScriptMgr->OnPlayerLoadFromDB(this);
// make sure the unit is considered out of combat for proper loading
ClearInCombat();