From b484ffa8a949791b618203bb2e13d694808b3112 Mon Sep 17 00:00:00 2001 From: The Judge <53906078+thejudge156@users.noreply.github.com> Date: Wed, 18 Sep 2024 08:30:29 -0700 Subject: [PATCH] Update MinecraftAccount.java --- src/main/java/pojlib/account/MinecraftAccount.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/pojlib/account/MinecraftAccount.java b/src/main/java/pojlib/account/MinecraftAccount.java index 5fc1db8f..ea1805c9 100644 --- a/src/main/java/pojlib/account/MinecraftAccount.java +++ b/src/main/java/pojlib/account/MinecraftAccount.java @@ -25,9 +25,9 @@ public class MinecraftAccount { public final String userType = "msa"; - public static MinecraftAccount login(String gameDir, String[] response) throws MSAException, IOException, JSONException { + public static MinecraftAccount login(Activity activity, String gameDir, String[] response) throws MSAException, IOException, JSONException { String mcToken = Msa.acquireXBLToken(response[0]); - Msa instance = new Msa(); + Msa instance = new Msa(activity); MinecraftAccount account = instance.performLogin(mcToken); account.expiresIn = Long.parseLong(response[1]);