Core/Guilds: Prevent guild bank packet contents update hack from interfering with buying new bank tabs

Port From (https://github.com/TrinityCore/TrinityCore/commit/e3d0b803d7c5ed564aabe6d348b4f96a48ef39cc)
This commit is contained in:
Hondacrx
2025-02-24 10:47:05 -05:00
parent df22f4dd74
commit 70998199c0
2 changed files with 8 additions and 5 deletions
+1 -4
View File
@@ -275,10 +275,7 @@ namespace Game
{
Guild guild = GetPlayer().GetGuild();
if (guild != null)
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
guild.SendBankList(this, packet.Tab, packet.FullUpdate);
}
}