diff --git a/launcher/minecraft/auth/steps/ElybyProfileStep.cpp b/launcher/minecraft/auth/steps/ElybyProfileStep.cpp index 310e71d48b..94992660c8 100644 --- a/launcher/minecraft/auth/steps/ElybyProfileStep.cpp +++ b/launcher/minecraft/auth/steps/ElybyProfileStep.cpp @@ -41,19 +41,6 @@ void ElybyProfileStep::onRequestDone( #ifndef NDEBUG qDebug() << data; #endif - if (error == QNetworkReply::ContentNotFoundError) { - // NOTE: Succeed even if we do not have a profile. This is a valid account state. - if(m_data->type == AccountType::Mojang) { - m_data->minecraftEntitlement.canPlayMinecraft = false; - m_data->minecraftEntitlement.ownsMinecraft = false; - } - m_data->minecraftProfile = MinecraftProfile(); - emit finished( - AccountTaskState::STATE_SUCCEEDED, - tr("Account has no Minecraft profile.") - ); - return; - } if (error != QNetworkReply::NoError) { qWarning() << "Error getting profile:"; qWarning() << " HTTP Status: " << requestor->httpStatus_; @@ -78,11 +65,6 @@ void ElybyProfileStep::onRequestDone( return; } - if(m_data->type == AccountType::Mojang) { - auto validProfile = m_data->minecraftProfile.validity == Katabasis::Validity::Certain; - m_data->minecraftEntitlement.canPlayMinecraft = validProfile; - m_data->minecraftEntitlement.ownsMinecraft = validProfile; - } emit finished( AccountTaskState::STATE_WORKING, tr("Minecraft Java profile acquisition succeeded.")