fix(Core/Instances): Fixed displaying warning about entering instance in progress. (#8171)

This commit is contained in:
UltraNix 2021-10-02 06:20:37 +02:00 committed by GitHub
parent 6c953e9333
commit ca47fc96f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2935,7 +2935,7 @@ bool InstanceMap::AddPlayerToMap(Player* player)
if (!group || !group->isLFGGroup() || !group->IsLfgRandomInstance())
player->AddInstanceEnterTime(GetInstanceId(), time(nullptr));
if (playerBind->perm && !mapSave->CanReset() && group && !group->isLFGGroup() && !group->IsLfgRandomInstance())
if (!playerBind->perm && !mapSave->CanReset() && group && !group->isLFGGroup() && !group->IsLfgRandomInstance())
{
WorldPacket data(SMSG_INSTANCE_LOCK_WARNING_QUERY, 9);
data << uint32(60000);