From dbb80b6aa22f3a21bf94645c84e49af9db3edc52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E4=BD=A9=E8=8C=B9?= Date: Fri, 1 Apr 2022 08:34:42 -0600 Subject: [PATCH] Fix CMSG_BATTLEMASTER_JOIN packet format --- src/strategy/actions/BattleGroundJoinAction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/strategy/actions/BattleGroundJoinAction.cpp b/src/strategy/actions/BattleGroundJoinAction.cpp index b1da30f2..a3ccf810 100644 --- a/src/strategy/actions/BattleGroundJoinAction.cpp +++ b/src/strategy/actions/BattleGroundJoinAction.cpp @@ -557,7 +557,7 @@ bool BGJoinAction::JoinQueue(uint32 type) if (!isArena) { WorldPacket packet(CMSG_BATTLEMASTER_JOIN, 20); - packet << unit->GetGUID() << bgTypeId_ << instanceId << joinAsGroup; + packet << bot->GetGUID() << bgTypeId_ << instanceId << joinAsGroup; bot->GetSession()->HandleBattlemasterJoinOpcode(packet); } else