mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 02:50:29 +00:00
fix(Core/Player): Force UpdateZone on resurrect to apply Zone auras (#21888)
This commit is contained in:
@@ -4535,7 +4535,7 @@ void Player::ResurrectPlayer(float restore_percent, bool applySickness)
|
||||
// trigger update zone for alive state zone updates
|
||||
uint32 newzone, newarea;
|
||||
GetZoneAndAreaId(newzone, newarea);
|
||||
UpdateZone(newzone, newarea);
|
||||
UpdateZone(newzone, newarea, true);
|
||||
sOutdoorPvPMgr->HandlePlayerResurrects(this, newzone);
|
||||
|
||||
if (Battleground* bg = GetBattleground())
|
||||
|
||||
Reference in New Issue
Block a user