diff options
author | Shauren <shauren.trinity@gmail.com> | 2020-03-19 18:29:05 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2021-12-24 00:40:06 +0100 |
commit | 125bd632b3b6a47879d2d6f146d08f980950942d (patch) | |
tree | 50ca1b9fc8307a3b388b522db7a9cc52e6c106fb | |
parent | a6332f5dececbc5301c2c30931dfdc23e4aab717 (diff) |
Core/Guilds: Restore guild bank contents hack
(cherry picked from commit 1cf8163c5823eadc5558ffcb82e530c37f64c8f6)
-rw-r--r-- | src/server/game/Handlers/GuildHandler.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/server/game/Handlers/GuildHandler.cpp b/src/server/game/Handlers/GuildHandler.cpp index 98d096eeaeb..41ba8cc9a7a 100644 --- a/src/server/game/Handlers/GuildHandler.cpp +++ b/src/server/game/Handlers/GuildHandler.cpp @@ -253,7 +253,10 @@ void WorldSession::HandleGuildBankQueryTab(WorldPackets::Guild::GuildBankQueryTa if (GetPlayer()->GetGameObjectIfCanInteractWith(packet.Banker, GAMEOBJECT_TYPE_GUILD_BANK)) if (Guild* guild = GetPlayer()->GetGuild()) - guild->SendBankList(this, packet.Tab, packet.FullUpdate); + guild->SendBankList(this, packet.Tab, true /*packet.FullUpdate*/); + // HACK: client doesn't query entire tab content if it had received SMSG_GUILD_BANK_LIST in this session + // but we broadcast bank updates to entire guild when *ANYONE* changes anything, incorrectly initializing clients + // tab content with only data for that change } void WorldSession::HandleGuildBankDepositMoney(WorldPackets::Guild::GuildBankDepositMoney& packet) |