fix(Core/Map): Exempt raids from the hourly limit (#19650)
This commit is contained in:
@@ -223,7 +223,7 @@ Map::EnterState MapMgr::PlayerCannotEnter(uint32 mapid, Player* player, bool log
|
|||||||
}
|
}
|
||||||
|
|
||||||
// players are only allowed to enter 5 instances per hour
|
// players are only allowed to enter 5 instances per hour
|
||||||
if (entry->IsDungeon() && (!group || !group->isLFGGroup() || !group->IsLfgRandomInstance()))
|
if (entry->IsNonRaidDungeon() && (!group || !group->isLFGGroup() || !group->IsLfgRandomInstance()))
|
||||||
{
|
{
|
||||||
uint32 instaceIdToCheck = 0;
|
uint32 instaceIdToCheck = 0;
|
||||||
if (InstanceSave* save = sInstanceSaveMgr->PlayerGetInstanceSave(player->GetGUID(), mapid, player->GetDifficulty(entry->IsRaid())))
|
if (InstanceSave* save = sInstanceSaveMgr->PlayerGetInstanceSave(player->GetGUID(), mapid, player->GetDifficulty(entry->IsRaid())))
|
||||||
|
|||||||
Reference in New Issue
Block a user