Core/Packets: updated some contactlist packets

(cherry picked from commit e01bb91)
This commit is contained in:
Aokromes committed 2017-02-01 02:11:56 +01:00
1 parent 904bbf9f5a
commit 8a63c4919e
19 files changed
+362 -379

No files matched your search

+2 -2
View File
@@ -146,13 +146,13 @@ void WorldSession::HandleGroupInviteOpcode(WorldPacket& recvData)
return;
}
if (player->GetSocial()->HasIgnore(GetPlayer()->GetGUID().GetCounter()))
if (player->GetSocial()->HasIgnore(GetPlayer()->GetGUID()))
{
SendPartyResult(PARTY_OP_INVITE, memberName, ERR_IGNORING_YOU_S);
return;
}
if (!player->GetSocial()->HasFriend(GetPlayer()->GetGUID().GetCounter()) && GetPlayer()->getLevel() < sWorld->getIntConfig(CONFIG_PARTY_LEVEL_REQ))
if (!player->GetSocial()->HasFriend(GetPlayer()->GetGUID()) && GetPlayer()->getLevel() < sWorld->getIntConfig(CONFIG_PARTY_LEVEL_REQ))
{
SendPartyResult(PARTY_OP_INVITE, memberName, ERR_INVITE_RESTRICTED);
return;