This commit is contained in:
SrGooglo 2024-01-27 16:12:51 +01:00
parent 892a2a6be7
commit 28837f8757
1 changed files with 3 additions and 3 deletions

View File

@ -12,6 +12,7 @@ const internalVars = {
public_ip_port: "25565",
git_source: "https://git.ragestudio.net/srgooglo/jaen-united-2024",
mc_version: {
forge: "1.20.1-forge-47.2.17",
number: "1.20.1",
type: "release",
}
@ -69,15 +70,14 @@ module.exports = {
executable: true,
check_updates_after_execute: true,
execute: async (pkg) => {
console.log(pkg)
const auth = await pkg.libraries.mcl.auth((pkg.storaged_configs?.username ?? defaultConfig.username))
return pkg.libraries.mcl.launch(
{
root: pkg.install_path,
authorization: auth,
version: {
version: internalVars.mc_version.forge,
_version: {
number: internalVars.mc_version.number,
type: internalVars.mc_version.type
},