mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
Fix CMSG_BATTLEMASTER_JOIN packet format
This commit is contained in:
parent
57e9c81575
commit
dbb80b6aa2
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user