private void OrganizeAfterToggle(InventoryHolder invHolder, int pos, bool equip) { int newPos = invHolder.FindFirstEmptySlot(); invHolder.MoveItem(pos, newPos, 1); invHolder.ItemHolders[newPos].IsEquipped = equip; }