1
0
Fork 0
forked from svrjs/svrjs

Fix svrmodpack deprecation warning

This commit is contained in:
Dorian Niemiec 2023-09-08 20:17:38 +02:00
parent 1e2d61ff64
commit 6066f77fae

2
svr.js
View file

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