Fix CMSG_BATTLEMASTER_JOIN packet format

This commit is contained in:
郑佩茹
2022-04-01 08:34:42 -06:00
parent 57e9c81575
commit dbb80b6aa2

View File

@@ -557,7 +557,7 @@ bool BGJoinAction::JoinQueue(uint32 type)
if (!isArena) if (!isArena)
{ {
WorldPacket packet(CMSG_BATTLEMASTER_JOIN, 20); WorldPacket packet(CMSG_BATTLEMASTER_JOIN, 20);
packet << unit->GetGUID() << bgTypeId_ << instanceId << joinAsGroup; packet << bot->GetGUID() << bgTypeId_ << instanceId << joinAsGroup;
bot->GetSession()->HandleBattlemasterJoinOpcode(packet); bot->GetSession()->HandleBattlemasterJoinOpcode(packet);
} }
else else