mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Guilds: Restore guild bank contents hack
(cherry picked from commit 1cf8163c58)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user