aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/launch
diff options
context:
space:
mode:
authorRyan Cao <70191398+ryanccn@users.noreply.github.com>2022-10-30 11:52:16 +0800
committerRyan Cao <70191398+ryanccn@users.noreply.github.com>2022-10-30 11:56:43 +0800
commit19a8d51bf3567950db77d6bc05b16373fd1a0a1d (patch)
tree800e260638075376a4bbbe959758a7a8204a2732 /launcher/minecraft/launch
parent87b0d3fe11c1134bf17e1027fda7125f77e09821 (diff)
downloadPrismLauncher-19a8d51bf3567950db77d6bc05b16373fd1a0a1d.tar.gz
PrismLauncher-19a8d51bf3567950db77d6bc05b16373fd1a0a1d.tar.bz2
PrismLauncher-19a8d51bf3567950db77d6bc05b16373fd1a0a1d.zip
fix: more user friendly Java warning text
Signed-off-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com>
Diffstat (limited to 'launcher/minecraft/launch')
-rw-r--r--launcher/minecraft/launch/VerifyJavaInstall.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/launcher/minecraft/launch/VerifyJavaInstall.cpp b/launcher/minecraft/launch/VerifyJavaInstall.cpp
index 99809f82..43f118f4 100644
--- a/launcher/minecraft/launch/VerifyJavaInstall.cpp
+++ b/launcher/minecraft/launch/VerifyJavaInstall.cpp
@@ -71,5 +71,7 @@ void VerifyJavaInstall::executeTask() {
{
emit logLine(tr("Java version %1").arg(major), MessageLevel::Error);
}
+ emit logLine(tr("If you are sure your version will work, go to instance settings and check \"Skip Java compatibility checks\"."), MessageLevel::Error);
+
emitFailed(QString("Incompatible Java major version"));
}