From 6066f77fae8fc4932e1487ab53627619e910cdf4 Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Fri, 8 Sep 2023 20:17:38 +0200 Subject: [PATCH] Fix svrmodpack deprecation warning --- svr.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svr.js b/svr.js index 7d9eae4..767159e 100644 --- a/svr.js +++ b/svr.js @@ -1491,7 +1491,7 @@ if (!disableMods) { // If it's not a ".tar.gz" file, unpack it using `svrmodpack` if (svrmodpack._errored) throw svrmodpack._errored; svrmodpack.unpack(modFile, __dirname + "/temp/" + modloaderFolderName + "/" + modFileRaw); - svrmodpackUsed = false; + svrmodpackUsed = true; } // Initialize variables for mod loading