Core/Auras: Implement SpellAuraInterruptFlags2::EnteringInstance

Port From (https://github.com/TrinityCore/TrinityCore/commit/5fddf06daa4ea69bf4ce28d57797e8f9f8b17f76)
This commit is contained in:
hondacrx
2023-05-21 17:12:02 -04:00
parent 1ce3844697
commit 535d068b47
+3
View File
@@ -337,6 +337,9 @@ namespace Game.Maps
player.UpdateObjectVisibility(false);
PhasingHandler.SendToPlayer(player);
if (Instanceable())
player.RemoveAurasWithInterruptFlags(SpellAuraInterruptFlags2.EnteringInstance);
if (player.IsAlive())
ConvertCorpseToBones(player.GetGUID());