Core/Battlegrounds: Avoid teleport players when relogin inside Strand of the Ancients

Port From (https://github.com/TrinityCore/TrinityCore/commit/a37f9b6693c74176bdbf0730e952ef7f05701cd1)
This commit is contained in:
hondacrx
2022-05-30 14:31:07 -04:00
parent 1eb79de56e
commit 36a2e1dff7
@@ -488,7 +488,8 @@ namespace Game.BattleGrounds.Zones
SendTransportInit(player); SendTransportInit(player);
TeleportToEntrancePosition(player); if (!isInBattleground)
TeleportToEntrancePosition(player);
} }
public override void RemovePlayer(Player player, ObjectGuid guid, Team team) { } public override void RemovePlayer(Player player, ObjectGuid guid, Team team) { }