mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 16:38:42 +01:00
Core/Players: no longer allow players to enter older raids without being in a raid party
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user