Fixed null pointer with inventory creation without a holder.