diff --git a/README.md b/README.md index a6d1aa7..7314fa6 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ##### This project is complete for now. [![Build Status](https://travis-ci.com/Pierce01/MinecraftLauncher-core.svg?branch=master)](https://travis-ci.com/Pierce01/MinecraftLauncher-core) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) -![version](https://img.shields.io/badge/stable_version-3.16.18-blue) +![version](https://img.shields.io/badge/stable_version-3.16.19-blue) ![badge](https://img.shields.io/badge/ncurses-not_supported-purple) MCLC (Minecraft Launcher Core) is a NodeJS solution for launching modded and vanilla Minecraft without having to download and format everything yourself. @@ -97,6 +97,7 @@ let opts = { directory: '', // where the Minecraft jar and version json are located. natives: '', // native directory path. assetRoot: '', + assetIndex: '', libraryRoot: '', cwd: '', // working directory of the java process. detached: true, // whether or not the client is detached from the parent / launcher. diff --git a/components/handler.js b/components/handler.js index faff372..80c302a 100644 --- a/components/handler.js +++ b/components/handler.js @@ -599,7 +599,7 @@ class Handler { '${user_properties}': this.options.authorization.user_properties, '${user_type}': this.options.authorization.meta.type, '${version_name}': this.options.version.number, - '${assets_index_name}': this.options.version.custom || this.options.version.number, + '${assets_index_name}': this.options.overrides.assetIndex || this.options.version.custom || this.options.version.number, '${game_directory}': this.options.overrides.gameDirectory || this.options.root, '${assets_root}': assetPath, '${game_assets}': assetPath, diff --git a/package.json b/package.json index bfd5346..9e01f5a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "minecraft-launcher-core", - "version": "3.16.18", + "version": "3.16.19", "description": "Lightweight module that downloads and runs Minecraft using javascript / NodeJS", "main": "index.js", "dependencies": {