mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
crash fix 2
This commit is contained in:
parent
4007ce2692
commit
dbbfc4e754
@ -1375,6 +1375,9 @@ PlayerbotAI* PlayerbotsMgr::GetPlayerbotAI(Player* player)
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
if (player->GetSession()->isLogingOut()) {
|
||||
return nullptr;
|
||||
}
|
||||
auto itr = _playerbotsMap.find(player->GetGUID());
|
||||
if (itr != _playerbotsMap.end())
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user