fix(Core/Player): Instance.IgnoreRaid kicking people out (#16306)

* closes https://github.com/azerothcore/azerothcore-wotlk/issues/16201
This commit is contained in:
Kitzunu
2023-05-18 22:11:53 +02:00
committed by GitHub
parent 7945e11557
commit be48e3c249
@@ -6978,7 +6978,7 @@ bool Player::CheckInstanceLoginValid()
if (GetMap()->IsRaid())
{
// cannot be in raid instance without a group
if (!GetGroup())
if (!GetGroup() && !sWorld->getBoolConfig(CONFIG_INSTANCE_IGNORE_RAID))
return false;
}
else