feat(Core/Packets): rework HandleWhoOpcode (#8863)

This commit is contained in:
Kargatum 2021-11-07 15:51:36 +07:00 committed by GitHub
parent 430fa147fd
commit c0728f6e2d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 271 additions and 211 deletions

View file

@ -166,7 +166,6 @@ void WorldSession::HandleMoveWorldportAck()
_player->SetIsSpectator(false);
GetPlayer()->SetPendingSpectatorForBG(0);
timeWhoCommandAllowed = time(nullptr) + sWorld->GetNextWhoListUpdateDelaySecs() + 1; // after exiting arena Subscribe will scan for a player and cached data says he is still in arena, so disallow until next update
if (uint32 inviteInstanceId = _player->GetPendingSpectatorInviteInstanceId())
{