Skip to content

Commit

Permalink
Don't throw when checking the MCProfile
Browse files Browse the repository at this point in the history
  • Loading branch information
The Judge committed Sep 24, 2024
1 parent 99b2e4b commit 857d1fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/pojlib/account/Msa.java
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ public static boolean checkMcProfile(String mcAccessToken) throws IOException, M
} else {
Logger.getInstance().appendToLog("MicrosoftLogin | It seems that this Microsoft Account does not own the game, setting game to demo mode.");
doesOwnGame = false;
throw new MSAException("It seems like this account does not have a Minecraft profile, demo mode enabled. If you have Xbox Game Pass, please log in on https://minecraft.net/ and set it up.");
return false;
}
}

Expand Down

0 comments on commit 857d1fe

Please sign in to comment.