mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 01:37:37 +01:00
Core/RBAC: Create 'Skip instance required bosses check' permission
This commit is contained in:
@@ -954,7 +954,7 @@ class instance_icecrown_citadel : public InstanceMapScript
|
||||
|
||||
bool CheckRequiredBosses(uint32 bossId, Player const* player = NULL) const
|
||||
{
|
||||
if (player && AccountMgr::IsGMAccount(player->GetSession()->GetSecurity()))
|
||||
if (player && player->GetSession()->HasPermission(RBAC_PERM_SKIP_CHECK_INSTANCE_REQUIRED_BOSSES))
|
||||
return true;
|
||||
|
||||
switch (bossId)
|
||||
|
||||
Reference in New Issue
Block a user