From 8c482b1324871b4808beef5028d1a6474ccea6b0 Mon Sep 17 00:00:00 2001 From: Darien Johnson <84008186+CADIndie@users.noreply.github.com> Date: Thu, 29 Aug 2024 16:18:22 -0500 Subject: [PATCH] Oops --- src/main/java/pojlib/account/MinecraftAccount.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/pojlib/account/MinecraftAccount.java b/src/main/java/pojlib/account/MinecraftAccount.java index fa66636e..8eeae831 100644 --- a/src/main/java/pojlib/account/MinecraftAccount.java +++ b/src/main/java/pojlib/account/MinecraftAccount.java @@ -27,7 +27,7 @@ public class MinecraftAccount { public static MinecraftAccount login(String gameDir, String[] response) throws IOException, JSONException { String mcToken = Msa.acquireXBLToken(response[0]); Msa instance = new Msa(false, mcToken); - MinecraftAccount account = instance.performLogin(); + MinecraftAccount account = instance.performLogin(mcToken); account.expiresIn = Long.parseLong(response[1]); GsonUtils.objectToJsonFile(gameDir + "/account.json", account);