mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 19:05:42 +00:00
feat(Core/Hooks): Add OnPlayerJustDied hook (#17973)
feat(Core/Hooks): Add OnPlayerJustDied
This commit is contained in:
@@ -4484,6 +4484,7 @@ void Player::KillPlayer()
|
||||
if (corpseReclaimDelay >= 0)
|
||||
SendCorpseReclaimDelay(corpseReclaimDelay);
|
||||
|
||||
sScriptMgr->OnPlayerJustDied(this);
|
||||
// don't create corpse at this moment, player might be falling
|
||||
|
||||
// update visibility
|
||||
|
||||
Reference in New Issue
Block a user