missing code for last commit

This commit is contained in:
sanctum32 2015-02-03 18:18:26 +00:00 committed by Antz
parent f83d6b058d
commit a96cf69415

View file

@ -1089,3 +1089,16 @@ void WorldSession::HandleSetAllowLowLevelRaidOpcode(WorldPacket& recv_data)
GetPlayer()->SetAllowLowLevelRaid(allow);
}
void WorldSession::HandleGroupRequestJoinUpdates(WorldPacket& recv_data)
{
Group* group = GetPlayer()->GetGroup();
if (!group)
return;
WorldPacket data(SMSG_REAL_GROUP_UPDATE, 1 + 4 + 8);
data << uint8(group->);
data << uint32(group->GetMembersCount() - 1);
data << ObjectGuid(group->GetLeaderGuid());
SendPacket(&data);
}