mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
HandleMasterIncomingPacket coredump
This commit is contained in:
parent
a7a1df89a1
commit
500332d69d
@ -1099,7 +1099,7 @@ void PlayerbotMgr::HandleMasterIncomingPacket(WorldPacket const& packet)
|
||||
{
|
||||
Player* const bot = it->second;
|
||||
PlayerbotAI* botAI = GET_PLAYERBOT_AI(bot);
|
||||
if (botAI->GetMaster() == GetMaster())
|
||||
if (botAI && botAI->GetMaster() == GetMaster())
|
||||
botAI->HandleMasterIncomingPacket(packet);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user