diff --git a/README.md b/README.md index 443d31b..d9c80e5 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.1-blue) +![version](https://img.shields.io/badge/stable_version-3.16.2-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/launcher.js b/components/launcher.js index b2f7fd6..80b20b4 100644 --- a/components/launcher.js +++ b/components/launcher.js @@ -6,7 +6,7 @@ const EventEmitter = require('events').EventEmitter class MCLCore extends EventEmitter { async launch (options) { - this.options = options + this.options = { ...options } this.options.root = path.resolve(this.options.root) this.options.overrides = { detached: true, diff --git a/package.json b/package.json index 5efe810..6f45508 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "minecraft-launcher-core", - "version": "3.16.1", + "version": "3.16.2", "description": "Lightweight module that downloads and runs Minecraft using javascript / NodeJS", "main": "index.js", "dependencies": {