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);