Skip to content

Commit 52d2133

Browse files
catfromplan9evan-goode
authored andcommitted
Set AuthlibInjector typeString to "msa"
1 parent 31d3cc6 commit 52d2133

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

launcher/minecraft/auth/MinecraftAccount.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,10 @@ class MinecraftAccount : public QObject, public Usable {
160160
switch (data.type) {
161161
case AccountType::AuthlibInjector: {
162162
// This typeString gets passed to Minecraft; any Yggdrasil
163-
// account should have the "mojang" type regardless of which
164-
// servers are used.
165-
return "mojang";
163+
// account should have the "msa" type since using the
164+
// "mojang" type results in the profile key not being set
165+
// on 1.19.3-1.21.8, breaking enforce-secure-profile.
166+
return "msa";
166167
} break;
167168
case AccountType::MSA: {
168169
return "msa";

0 commit comments

Comments
 (0)