mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
fix HandleBotOutgoingPacket
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user