/// <summary> /// Set the MaxSlots for <param name="inventory"/> to <param name="slots" />. /// If the Items array is already initialized, it will either expand the array, /// or, when <param name="slots" /> is less, will remove items and shrink it. /// </summary> /// <param name="inventory">Inventory ID, 0-5</param> /// <param name="slots">Amount of slots</param> public override void SetInventorySlots(byte inventory, byte slots, bool sendPacket = true) { base.SetInventorySlots(inventory, slots, sendPacket); if (sendPacket) { InventoryPacket.IncreaseSlots(Character, inventory, slots); } }