mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 18:15:31 +01:00
Core/Player: update play phase on area change before spell area spells to avoid some issues with phased spell targets
This commit is contained in:
@@ -7520,8 +7520,8 @@ void Player::UpdateArea(uint32 newArea)
|
||||
pvpInfo.IsInFFAPvPArea = area && (area->flags & AREA_FLAG_ARENA);
|
||||
UpdatePvPState(true);
|
||||
|
||||
UpdateAreaDependentAuras(newArea);
|
||||
PhasingHandler::OnAreaChange(this);
|
||||
UpdateAreaDependentAuras(newArea);
|
||||
|
||||
// previously this was in UpdateZone (but after UpdateArea) so nothing will break
|
||||
pvpInfo.IsInNoPvPArea = false;
|
||||
|
||||
Reference in New Issue
Block a user