From da0b61a07dfded25549ec55e8ad4816f9180edd0 Mon Sep 17 00:00:00 2001 From: Pierce Date: Fri, 27 Aug 2021 11:37:18 -0700 Subject: [PATCH] Rule check for custom clients Closes #78 --- README.md | 2 +- components/handler.js | 1 + package.json | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d2f0fca..4473f64 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.7-blue) +![version](https://img.shields.io/badge/stable_version-3.16.8-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. diff --git a/components/handler.js b/components/handler.js index 604e1c6..f7c9c00 100644 --- a/components/handler.js +++ b/components/handler.js @@ -467,6 +467,7 @@ class Handler { await Promise.all(libraries.map(async library => { if (!library) return + if (this.parseRule(library)) return const lib = library.name.split(':') let jarPath diff --git a/package.json b/package.json index f5d782b..d2ff8d4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "minecraft-launcher-core", - "version": "3.16.7", + "version": "3.16.8", "description": "Lightweight module that downloads and runs Minecraft using javascript / NodeJS", "main": "index.js", "dependencies": {