mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 17:27:36 +01: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