Core/Guilds: Restore guild bank contents hack

(cherry picked from commit 1cf8163c58)
This commit is contained in:
Shauren
2020-03-19 18:29:05 +01:00
parent a6332f5dec
commit 125bd632b3

View File

@@ -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)