Core/Players: no longer allow players to enter older raids without being in a raid party

This commit is contained in:
Ovahlord
2024-11-15 17:59:57 +01:00
parent c4c8bbfcf2
commit 2d91df0daf

View File

@@ -18717,7 +18717,7 @@ bool Player::CheckInstanceValidity(bool /*isLogin*/)
Group* group = GetGroup();
// raid instances require the player to be in a raid group to be valid
if (map->IsRaid() && !sWorld->getBoolConfig(CONFIG_INSTANCE_IGNORE_RAID) && (map->GetEntry()->Expansion() >= sWorld->getIntConfig(CONFIG_EXPANSION)))
if (map->IsRaid() && !sWorld->getBoolConfig(CONFIG_INSTANCE_IGNORE_RAID))
if (!group || !group->isRaidGroup())
return false;