mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Players: Do not clear m_clientGUIDs when using seamless teleport to properly receive DestroyObjects block
This commit is contained in:
@@ -489,9 +489,10 @@ bool Map::AddPlayerToMap(Player* player, bool initPlayer /*= true*/)
|
||||
SendInitTransports(player);
|
||||
SendZoneDynamicInfo(player);
|
||||
|
||||
player->m_clientGUIDs.clear();
|
||||
player->UpdateObjectVisibility(false);
|
||||
if (initPlayer)
|
||||
player->m_clientGUIDs.clear();
|
||||
|
||||
player->UpdateObjectVisibility(false);
|
||||
player->SendUpdatePhasing();
|
||||
|
||||
sScriptMgr->OnPlayerEnterMap(this, player);
|
||||
|
||||
Reference in New Issue
Block a user