mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
HandleMasterIncomingPacket coredump
This commit is contained in:
@@ -1099,7 +1099,7 @@ void PlayerbotMgr::HandleMasterIncomingPacket(WorldPacket const& packet)
|
|||||||
{
|
{
|
||||||
Player* const bot = it->second;
|
Player* const bot = it->second;
|
||||||
PlayerbotAI* botAI = GET_PLAYERBOT_AI(bot);
|
PlayerbotAI* botAI = GET_PLAYERBOT_AI(bot);
|
||||||
if (botAI->GetMaster() == GetMaster())
|
if (botAI && botAI->GetMaster() == GetMaster())
|
||||||
botAI->HandleMasterIncomingPacket(packet);
|
botAI->HandleMasterIncomingPacket(packet);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user