From 4818b27aece3cb115768c0e5ee7f9010914e36e2 Mon Sep 17 00:00:00 2001 From: APEX FIGHT Date: Mon, 10 Mar 2025 21:29:59 -0400 Subject: [PATCH] added client checking for client only mods --- main.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/main.js b/main.js index 5199199..e11f027 100644 --- a/main.js +++ b/main.js @@ -16,8 +16,13 @@ modList.forEach((ele, idx, arr) => { let modinfo = { modName: "", link: link + } + if (link == "client"){ + modinfo.modName = "*" + ele; + return; + } let output = cp.execSync("cd /root/mcserver/mods && wget --content-disposition " + link).toString('utf-8'); //change dir and download mod console.log(output); try {