Core/RBAC: Create 'Skip instance required bosses check' permission
This commit is contained in:
1 parent
8810fcb575
commit
1638092f18
3 files changed
+16
-1
No files matched your search
@@ -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