4
0
mirror of https://github.com/AltarikMC/Launcher synced 2025-12-13 11:41:45 +00:00

Fix bug causing minecraft not launching + dump to 0.6.1

This commit is contained in:
2021-09-19 22:27:28 +02:00
parent 3c3f5b532b
commit a9e0a7cc37
3 changed files with 2 additions and 4 deletions

View File

@@ -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))