diff --git a/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/Tools.java b/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/Tools.java index 4a56d6640..343f52457 100644 --- a/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/Tools.java +++ b/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/Tools.java @@ -377,20 +377,6 @@ public static String[] getMinecraftClientArgs(MinecraftAccount profile, JMinecra versionName = versionInfo.inheritsFrom; } - String userType = "mojang"; - try { - Date creationDate = DateUtils.getOriginalReleaseDate(versionInfo); - // Minecraft 22w43a which adds chat reporting (and signing) was released on - // 26th October 2022. So, if the date is not before that (meaning it is equal or higher) - // change the userType to MSA to fix the missing signature - if(creationDate != null && !DateUtils.dateBefore(creationDate, 2022, 9, 26)) { - userType = "msa"; - } - }catch (ParseException e) { - Log.e("CheckForProfileKey", "Failed to determine profile creation date, using \"mojang\"", e); - } - - Map varArgMap = new ArrayMap<>(); varArgMap.put("auth_session", profile.accessToken); // For legacy versions of MC varArgMap.put("auth_access_token", profile.accessToken); @@ -402,7 +388,7 @@ public static String[] getMinecraftClientArgs(MinecraftAccount profile, JMinecra varArgMap.put("game_assets", ProfilePathHome.getAssetsHome()); varArgMap.put("game_directory", gameDir.getAbsolutePath()); varArgMap.put("user_properties", "{}"); - varArgMap.put("user_type", userType); + varArgMap.put("user_type", "msa"); varArgMap.put("version_name", versionName); varArgMap.put("version_type", versionInfo.type);