mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-06 12:27:48 +00:00
fix(Core/Instances): Fixed displaying warning about entering instance in progress. (#8171)
This commit is contained in:
@@ -2935,7 +2935,7 @@ bool InstanceMap::AddPlayerToMap(Player* player)
|
|||||||
if (!group || !group->isLFGGroup() || !group->IsLfgRandomInstance())
|
if (!group || !group->isLFGGroup() || !group->IsLfgRandomInstance())
|
||||||
player->AddInstanceEnterTime(GetInstanceId(), time(nullptr));
|
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);
|
WorldPacket data(SMSG_INSTANCE_LOCK_WARNING_QUERY, 9);
|
||||||
data << uint32(60000);
|
data << uint32(60000);
|
||||||
|
|||||||
Reference in New Issue
Block a user