Core/Auras: Implement SpellAuraInterruptFlags2::EnteringInstance
Port From (https://github.com/TrinityCore/TrinityCore/commit/5fddf06daa4ea69bf4ce28d57797e8f9f8b17f76)
This commit is contained in:
@@ -337,6 +337,9 @@ namespace Game.Maps
|
|||||||
player.UpdateObjectVisibility(false);
|
player.UpdateObjectVisibility(false);
|
||||||
PhasingHandler.SendToPlayer(player);
|
PhasingHandler.SendToPlayer(player);
|
||||||
|
|
||||||
|
if (Instanceable())
|
||||||
|
player.RemoveAurasWithInterruptFlags(SpellAuraInterruptFlags2.EnteringInstance);
|
||||||
|
|
||||||
if (player.IsAlive())
|
if (player.IsAlive())
|
||||||
ConvertCorpseToBones(player.GetGUID());
|
ConvertCorpseToBones(player.GetGUID());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user