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; }