Merge branch 'master' into Playerbot
This commit is contained in:
@@ -601,6 +601,9 @@ void WorldSession::LogoutPlayer(bool save)
|
||||
|
||||
if (_player)
|
||||
{
|
||||
//! Call script hook before other logout events
|
||||
sScriptMgr->OnBeforePlayerLogout(_player);
|
||||
|
||||
if (ObjectGuid lguid = _player->GetLootGUID())
|
||||
DoLootRelease(lguid);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user