Merge branch 'azerothcore:master' into Playerbot

This commit is contained in:
ZhengPeiRu21
2023-04-03 22:10:19 -06:00
committed by GitHub
9 changed files with 209 additions and 1 deletions

View File

@@ -1445,8 +1445,13 @@ public:
return false;
}
bool CheckRequiredBosses(uint32 bossId, Player const* /*player*/) const override
bool CheckRequiredBosses(uint32 bossId, Player const* player) const override
{
if (player->GetSession()->GetSecurity() >= SEC_MODERATOR)
{
return true;
}
switch (bossId)
{
case DATA_THE_LICH_KING: