Core/PacketIO: Convert all leftover packets to use packet classes
Port From (https://github.com/TrinityCore/TrinityCore/commit/661470c6587c11e3fa94d2e8b57c92d8be2e297b)
This commit is contained in:
@@ -121,7 +121,10 @@ namespace Game
|
||||
void HandleBuyBankSlot(BuyBankSlot packet)
|
||||
{
|
||||
if (!CanUseBank(packet.Guid))
|
||||
{
|
||||
Log.outDebug(LogFilter.Network, "WORLD: HandleBuyBankSlot - {0} not found or you can't interact with him.", packet.Guid.ToString());
|
||||
return;
|
||||
}
|
||||
|
||||
uint slot = GetPlayer().GetBankBagSlotCount();
|
||||
// next slot
|
||||
|
||||
Reference in New Issue
Block a user