public static void ExpandInventory(GameSession session, InventoryTab tab) { Inventory inventory = session.Player.Inventory; long meretPrice = 390; short expansionAmount = 6; if (session.Player.Account.RemoveMerets(meretPrice)) { inventory.ExtraSize[tab] += expansionAmount; session.Send(ItemInventoryPacket.LoadTab(tab, inventory.ExtraSize[tab])); session.Send(ItemInventoryPacket.Expand()); } }