mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 02:50:29 +00:00
fix(Core/MailHandler): Fix display of item enchantments in mailbox (#4872)
* fix(Core/MailHandler): Fix display of item enchantments in mailbox * Update MailHandler.cpp Co-authored-by: r0m1ntik <r.badanin94@yandex.ru–>
This commit is contained in:
@@ -666,9 +666,9 @@ void WorldSession::HandleGetMailList(WorldPacket& recvData)
|
||||
data << uint32((item ? item->GetEntry() : 0));
|
||||
for (uint8 j = 0; j < MAX_INSPECTED_ENCHANTMENT_SLOT; ++j)
|
||||
{
|
||||
data << uint32(item ? item->GetEnchantmentCharges(EnchantmentSlot(j)) : 0);
|
||||
data << uint32(item ? item->GetEnchantmentDuration(EnchantmentSlot(j)) : 0);
|
||||
data << uint32(item ? item->GetEnchantmentId(EnchantmentSlot(j)) : 0);
|
||||
data << uint32(item ? item->GetEnchantmentDuration(EnchantmentSlot(j)) : 0);
|
||||
data << uint32(item ? item->GetEnchantmentCharges(EnchantmentSlot(j)) : 0);
|
||||
}
|
||||
// can be negative
|
||||
data << int32((item ? item->GetItemRandomPropertyId() : 0));
|
||||
|
||||
Reference in New Issue
Block a user