mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 18:40:28 +00:00
fix(Core/Packets): sending item's random property in a few packets (#6193)
- Closes #4843
This commit is contained in:
@@ -472,13 +472,13 @@ bool Guild::BankTab::WriteSlotPacket(WorldPacket& data, uint8 slotId, bool ignor
|
||||
{
|
||||
data << uint32(0); // 3.3.0 (0x00018020, 0x00018000)
|
||||
|
||||
if (uint32 random = pItem->GetItemRandomPropertyId())
|
||||
if (int32 random = pItem->GetItemRandomPropertyId())
|
||||
{
|
||||
data << uint32(random); // Random item property id
|
||||
data << int32(random); // Random item property id
|
||||
data << uint32(pItem->GetItemSuffixFactor()); // SuffixFactor
|
||||
}
|
||||
else
|
||||
data << uint32(0);
|
||||
data << int32(0);
|
||||
|
||||
data << uint32(pItem->GetCount()); // ITEM_FIELD_STACK_COUNT
|
||||
data << uint32(0);
|
||||
|
||||
Reference in New Issue
Block a user