fix(Scripts/IcecrownCitadel): Fix possible crash if bosses engage off… (#15832)
fix(Scripts/IcecrownCitadel): Fix possible crash if bosses engage offline players
This commit is contained in:
@@ -1447,7 +1447,7 @@ public:
|
|||||||
|
|
||||||
bool CheckRequiredBosses(uint32 bossId, Player const* player) const override
|
bool CheckRequiredBosses(uint32 bossId, Player const* player) const override
|
||||||
{
|
{
|
||||||
if (player->GetSession()->GetSecurity() >= SEC_MODERATOR)
|
if (player->GetSession() && player->GetSession()->GetSecurity() >= SEC_MODERATOR)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user