forked from svrjs/svrjs
Fix svrmodpack deprecation warning
This commit is contained in:
parent
1e2d61ff64
commit
6066f77fae
1 changed files with 1 additions and 1 deletions
2
svr.js
2
svr.js
|
@ -1491,7 +1491,7 @@ if (!disableMods) {
|
||||||
// If it's not a ".tar.gz" file, unpack it using `svrmodpack`
|
// If it's not a ".tar.gz" file, unpack it using `svrmodpack`
|
||||||
if (svrmodpack._errored) throw svrmodpack._errored;
|
if (svrmodpack._errored) throw svrmodpack._errored;
|
||||||
svrmodpack.unpack(modFile, __dirname + "/temp/" + modloaderFolderName + "/" + modFileRaw);
|
svrmodpack.unpack(modFile, __dirname + "/temp/" + modloaderFolderName + "/" + modFileRaw);
|
||||||
svrmodpackUsed = false;
|
svrmodpackUsed = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Initialize variables for mod loading
|
// Initialize variables for mod loading
|
||||||
|
|
Reference in a new issue