aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2023-01-17 14:05:35 +0100
committerShauren <shauren.trinity@gmail.com>2023-01-17 14:05:35 +0100
commitfe7fef7535513087291649e6fa03f231457542db (patch)
tree929cf727e1bcff96595ee2370b6b9c50714292ad /src
parent80884e32ef6e79b6de66fe02a16b0546282f75bb (diff)
Core/Guilds: Fixed sending random properties for guild bank items
Closes #28751
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Guilds/Guild.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/game/Guilds/Guild.cpp b/src/server/game/Guilds/Guild.cpp
index 717fe0e4505..b71fe0f30a8 100644
--- a/src/server/game/Guilds/Guild.cpp
+++ b/src/server/game/Guilds/Guild.cpp
@@ -2897,6 +2897,8 @@ void Guild::_SendBankList(WorldSession* session /* = nullptr*/, uint8 tabId /*=
itemInfo.Slot = *itr;
itemInfo.ItemID = tabItem->GetEntry();
+ itemInfo.RandomPropertiesID = tabItem->GetItemRandomPropertyId();
+ itemInfo.RandomPropertiesSeed = tabItem->GetItemSuffixFactor();
itemInfo.Count = int32(tabItem->GetCount());
itemInfo.Charges = int32(abs(tabItem->GetSpellCharges()));
itemInfo.EnchantmentID = int32(tabItem->GetEnchantmentId(PERM_ENCHANTMENT_SLOT));