From a33b4297adc2feefd0781904cded33ae6280d029 Mon Sep 17 00:00:00 2001 From: Octol1ttle Date: Thu, 29 Jan 2026 19:54:02 +0500 Subject: [PATCH] improve wording Signed-off-by: Octol1ttle (cherry picked from commit ffd1e7bc333ae0c10d078f95ae5f09e1a4f1f180) --- launcher/minecraft/MinecraftInstance.cpp | 2 +- launcher/minecraft/launch/EnsureOfflineLibraries.cpp | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/launcher/minecraft/MinecraftInstance.cpp b/launcher/minecraft/MinecraftInstance.cpp index 7fe183708..f8924579a 100644 --- a/launcher/minecraft/MinecraftInstance.cpp +++ b/launcher/minecraft/MinecraftInstance.cpp @@ -69,8 +69,8 @@ #include "minecraft/launch/VerifyJavaInstall.h" #include "minecraft/update/AssetUpdateTask.h" +#include "minecraft/update/FMLLibrariesTask.h" #include "minecraft/update/FoldersTask.h" -#include "minecraft/update/LegacyFMLLibrariesTask.h" #include "minecraft/update/LibrariesTask.h" #include "java/JavaUtils.h" diff --git a/launcher/minecraft/launch/EnsureOfflineLibraries.cpp b/launcher/minecraft/launch/EnsureOfflineLibraries.cpp index 8684fbdf6..59801a1d0 100644 --- a/launcher/minecraft/launch/EnsureOfflineLibraries.cpp +++ b/launcher/minecraft/launch/EnsureOfflineLibraries.cpp @@ -30,10 +30,9 @@ void EnsureOfflineLibraries::executeTask() profile->getLibraryFiles(m_instance->runtimeContext(), allJars, allJars, m_instance->getLocalLibraryPath(), m_instance->binRoot()); for (const auto& jar : allJars) { if (!QFileInfo::exists(jar)) { - emit logLine( - tr("This instance cannot be launched in offline mode because libraries have not been downloaded yet. Please try again in " - "online mode with a working Internet connection"), - MessageLevel::Fatal); + emit logLine(tr("This instance cannot be launched because some libraries are missing or have not been downloaded yet. Please " + "try again in online mode with a working Internet connection"), + MessageLevel::Fatal); emitFailed("Required libraries are missing"); return; }