mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
try to fix HandleBotOutgoingPacket coredump
This commit is contained in:
parent
5feb47d5ed
commit
cc0a874a4c
@ -639,7 +639,10 @@ void PlayerbotAI::HandleBotOutgoingPacket(WorldPacket const& packet)
|
||||
{
|
||||
if (packet.empty())
|
||||
return;
|
||||
|
||||
|
||||
if (!bot || !bot->IsInWorld()) {
|
||||
return;
|
||||
}
|
||||
switch (packet.GetOpcode())
|
||||
{
|
||||
case SMSG_SPELL_FAILURE:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user