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