[12718m] Updated structure SMSG_SET_PROFICIENCY and opcodes, Thanks ProjectSkyfire

This commit is contained in:
Vincent-Michael 2020-02-18 21:23:47 +00:00 committed by Antz
parent f2ab34d864
commit f34bd31e4b
No known key found for this signature in database
GPG key ID: 0DF907270598C85F
2 changed files with 4 additions and 4 deletions

View file

@ -19958,8 +19958,8 @@ template float Player::ApplySpellMod<float>(uint32 spellId, SpellModOp op, float
// send Proficiency
void Player::SendProficiency(ItemClass itemClass, uint32 itemSubclassMask)
{
WorldPacket data(SMSG_SET_PROFICIENCY, 1 + 4);
data << uint8(itemClass) << uint32(itemSubclassMask);
WorldPacket data(SMSG_SET_PROFICIENCY, 4 + 1);
data << uint32(itemSubclassMask) << uint8(itemClass) ;
GetSession()->SendPacket(&data);
}