Skip to content

Commit

Permalink
Update MinecraftAccount.java
Browse files Browse the repository at this point in the history
  • Loading branch information
thejudge156 authored Sep 18, 2024
1 parent 2d3d2c4 commit b484ffa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/pojlib/account/MinecraftAccount.java
Original file line number Diff line number Diff line change
Expand Up @@ -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]);

Expand Down

0 comments on commit b484ffa

Please sign in to comment.