From 8a05021bf85820f4fc5577c2879636889eaa5120 Mon Sep 17 00:00:00 2001 From: KayoticCarnige Date: Fri, 30 Aug 2024 17:06:04 -0400 Subject: [PATCH] Update packDL.js --- web-files/dl/packDL.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web-files/dl/packDL.js b/web-files/dl/packDL.js index 4bd2068..b6afba0 100644 --- a/web-files/dl/packDL.js +++ b/web-files/dl/packDL.js @@ -20,7 +20,7 @@ fetch("https://iatj-modpack.github.io/meta.json", { if (document.location.pathname == "/dl/0.0.0") { document.location = "https://iatj-modpack.github.io/versions/0.0.0/iatj_modpack_file_0.0.0.mrpack" } - else if (document.location.pathname == "/dl/latest") { + if (document.location.pathname == "/dl/latest") { console.log(vList.versions[vListSize]) document.location = vList.versions[vListSize].mpfile; }