diff --git a/package-lock.json b/package-lock.json index 43cc141..8a3107c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "altarik-launcher", - "version": "0.6.0", + "version": "0.6.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 786dbc2..1cf1b1a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "altarik-launcher", "author": "Altarik", - "version": "0.6.0", + "version": "0.6.1", "description": "Altarik Launcher", "main": "src/server/main.js", "repository": "AltarikMC/Launcher", diff --git a/src/server/minecraft.js b/src/server/minecraft.js index ded3b92..b49cd07 100644 --- a/src/server/minecraft.js +++ b/src/server/minecraft.js @@ -223,8 +223,6 @@ class Minecraft { downloadMods(link, path) { return new Promise((resolve, reject) => { - if(!navigator.onLine) - reject("offline") axios.get(link, {responseType: "stream"}).then(res => { if(res.status === 200) { if(fs.existsSync(path))