mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-19 14:39:43 -04:00
Core/Auras: Implement SpellAuraInterruptFlags2::EnteringInstance (#28942)
This commit is contained in:
@@ -457,6 +457,9 @@ bool Map::AddPlayerToMap(Player* player, bool initPlayer /*= true*/)
|
||||
player->UpdateObjectVisibility(false);
|
||||
PhasingHandler::SendToPlayer(player);
|
||||
|
||||
if (Instanceable())
|
||||
player->RemoveAurasWithInterruptFlags(SpellAuraInterruptFlags2::EnteringInstance);
|
||||
|
||||
if (player->IsAlive())
|
||||
ConvertCorpseToBones(player->GetGUID());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user