From b025c5c61586676c6830c9a879997c4ee5dfb6fb Mon Sep 17 00:00:00 2001 From: Quentin Legot Date: Sat, 1 Apr 2023 15:41:09 +0200 Subject: [PATCH] Fix import following an update of msmc (semver of msmc isn't correct) --- src/server/minecraft.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/minecraft.js b/src/server/minecraft.js index 8d58b8b..802ef54 100644 --- a/src/server/minecraft.js +++ b/src/server/minecraft.js @@ -7,7 +7,7 @@ const { join } = require("path") const constants = require("constants") const zip = require("extract-zip") const logger = require("electron-log") -const { auth, lst } = require("msmc") +const { Auth, lst } = require("msmc") const decompress = require("decompress") const decompressTar = require("decompress-targz") @@ -49,7 +49,7 @@ class Minecraft { * Used to login through a Microsoft account */ microsoftLogin(event, win) { - const authManager = new auth("select_account") + const authManager = new Auth("select_account") authManager.launch("electron").then(async xboxManager => { xboxManager.getMinecraft().then(async token => { if(!token.isDemo()) {