mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 01:37:37 +01:00
*Fix a crash where BankTab is between the number of purchased tabs and the max number of tabs, by Trazom. ref #68
--HG-- branch : trunk
This commit is contained in:
@@ -1118,6 +1118,9 @@ void WorldSession::HandleGuildBankSwapItems( WorldPacket & recv_data )
|
||||
if(!pGuild)
|
||||
return;
|
||||
|
||||
if (BankTab >= pGuild->GetPurchasedTabs())
|
||||
return;
|
||||
|
||||
Player *pl = GetPlayer();
|
||||
|
||||
// Bank <-> Bank
|
||||
|
||||
Reference in New Issue
Block a user