mirror of
https://github.com/artegoser/pimi-launcher-core.git
synced 2025-02-23 12:43:17 +03:00
pre-1.6 support.
This commit is contained in:
parent
4612107b3a
commit
6bf22ef3e9
3 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
|||
##### This project is complete for now.
|
||||
[](https://travis-ci.com/Pierce01/MinecraftLauncher-core)
|
||||
[](https://opensource.org/licenses/MIT)
|
||||

|
||||

|
||||

|
||||
|
||||
MCLC (Minecraft Launcher Core) is a NodeJS solution for launching modded and vanilla Minecraft without having to download and format everything yourself.
|
||||
|
|
|
@ -474,7 +474,7 @@ class Handler {
|
|||
const assetRoot = this.options.overrides.assetRoot || path.join(this.options.root, 'assets');
|
||||
const assetPath = this.version.assets === "legacy" || this.version.assets === "pre-1.6" ? path.join(assetRoot, 'legacy') : path.join(assetRoot);
|
||||
|
||||
const minArgs = this.options.overrides.minArgs || this.version.assets === "legacy" ? 5 : 11;
|
||||
const minArgs = this.options.overrides.minArgs || (this.version.assets === "legacy" || this.version.assets === "pre-1.6") ? 5 : 11;
|
||||
if(args.length < minArgs) args = args.concat(this.version.minecraftArguments ? this.version.minecraftArguments.split(' ') : this.version.arguments.game);
|
||||
|
||||
this.options.authorization = await Promise.resolve(this.options.authorization);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "minecraft-launcher-core",
|
||||
"version": "3.13.2",
|
||||
"version": "3.13.3",
|
||||
"description": "Lightweight module that downloads and runs Minecraft using javascript / NodeJS",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
|
|
Loading…
Add table
Reference in a new issue