mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 11:25:42 +00:00
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
|
||||
{
|
||||
if (player->GetSession()->GetSecurity() >= SEC_MODERATOR)
|
||||
if (player->GetSession() && player->GetSession()->GetSecurity() >= SEC_MODERATOR)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user