Fix(scripts): bot receive CMSG packet

This commit is contained in:
Yunfan Li
2023-07-26 13:10:55 +08:00
parent 2ca14cd5eb
commit 06b2f25a00

View File

@@ -355,6 +355,7 @@ bool WorldSession::Update(uint32 diff, PacketFilter& updater)
opHandle->Call(this, *packet);
LogUnprocessedTail(packet);
sScriptMgr->OnPacketReceived(this, *packet);
}
else
processedPackets = MAX_PROCESSED_PACKETS_IN_SAME_WORLDSESSION_UPDATE; // break out of packet processing loop