fix HandleBotOutgoingPacket

This commit is contained in:
Yunfan Li
2023-08-10 00:28:42 +08:00
parent 7c177bccc9
commit 99885b56bb

View File

@@ -639,7 +639,7 @@ void PlayerbotAI::HandleBotOutgoingPacket(WorldPacket const& packet)
{
if (packet.empty())
return;
if (!bot || !bot->IsInWorld() || !bot->IsDuringRemoveFromWorld()) {
if (!bot || !bot->IsInWorld() || bot->IsDuringRemoveFromWorld()) {
return;
}
switch (packet.GetOpcode())