nix-warez/pkgs/fjordlauncher/01-authlib-enforcement.patch
2025-01-28 21:11:56 +01:00

20 lines
1.0 KiB
Diff

diff --git a/launcher/ui/pages/global/AccountListPage.cpp b/launcher/ui/pages/global/AccountListPage.cpp
index 384af07fe..c3f3601df 100644
--- a/launcher/ui/pages/global/AccountListPage.cpp
+++ b/launcher/ui/pages/global/AccountListPage.cpp
@@ -135,12 +135,11 @@ void AccountListPage::listChanged()
void AccountListPage::on_actionAddAuthlibInjector_triggered()
{
if (!m_accounts->anyAccountIsValid()) {
- QMessageBox::warning(this, tr("Error"),
- tr("You must add a Microsoft account that owns Minecraft before you can add an account on a custom "
+ QMessageBox::warning(this, tr("Warning"),
+ tr("You should have a license for minecraft before adding an account on a custom "
"authentication server."
"<br><br>"
"If you have lost your account you can contact Microsoft for support."));
- return;
}
MinecraftAccountPtr account = AuthlibInjectorLoginDialog::newAccount(