Core/Auras: Implement SpellAuraInterruptFlags2::EnteringInstance (#28942)

This commit is contained in:
Teleqraph
2023-05-06 17:58:40 +02:00
committed by GitHub
parent 513788e884
commit 5fddf06daa
2 changed files with 4 additions and 1 deletions

View File

@@ -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());