From 99885b56bbca8f1ef5011e5c2eb7031eeb66f32c Mon Sep 17 00:00:00 2001 From: Yunfan Li Date: Thu, 10 Aug 2023 00:28:42 +0800 Subject: [PATCH] fix HandleBotOutgoingPacket --- src/PlayerbotAI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PlayerbotAI.cpp b/src/PlayerbotAI.cpp index 6d3a02ed..2c4fe80a 100644 --- a/src/PlayerbotAI.cpp +++ b/src/PlayerbotAI.cpp @@ -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())