Core/Instances: Fixed instance greet messages and getting booted from old raids by not being in a raid group
This commit is contained in:
@@ -539,7 +539,7 @@ namespace Game.Entities
|
||||
return true;
|
||||
|
||||
// raid instances require the player to be in a raid group to be valid
|
||||
if (map.IsRaid() && !WorldConfig.GetBoolValue(WorldCfg.InstanceIgnoreRaid))
|
||||
if (map.IsRaid() && !WorldConfig.GetBoolValue(WorldCfg.InstanceIgnoreRaid) && (map.GetEntry().Expansion() >= (Expansion)WorldConfig.GetIntValue(WorldCfg.Expansion)))
|
||||
if (!GetGroup() || !GetGroup().isRaidGroup())
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user