mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-27 23:46:23 +00:00
fix HandleBotOutgoingPacket
This commit is contained in:
@@ -639,7 +639,7 @@ void PlayerbotAI::HandleBotOutgoingPacket(WorldPacket const& packet)
|
|||||||
{
|
{
|
||||||
if (packet.empty())
|
if (packet.empty())
|
||||||
return;
|
return;
|
||||||
if (!bot || !bot->IsInWorld() || !bot->IsDuringRemoveFromWorld()) {
|
if (!bot || !bot->IsInWorld() || bot->IsDuringRemoveFromWorld()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
switch (packet.GetOpcode())
|
switch (packet.GetOpcode())
|
||||||
|
|||||||
Reference in New Issue
Block a user