File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
common/src/main/java/com/viaversion/viaversion Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -244,9 +244,12 @@ private void checkJavaVersion() { // Stolen from Paper
244244 }
245245
246246 if (version < 17 ) {
247- platform .getLogger ().warning ("You are running an outdated Java version, please update it to at least Java 17 (your version is " + javaVersion + ")." );
247+ platform .getLogger ().warning ("You are running an outdated Java version, please update it to at least Java 21 (your version is " + javaVersion + ")." );
248248 platform .getLogger ().warning ("ViaVersion no longer officially supports this version of Java, only offering unsupported compatibility builds." );
249249 platform .getLogger ().warning ("See https://github.com/ViaVersion/ViaVersion/releases/tag/5.0.0 for more information." );
250+ } else if (version < 21 ) {
251+ platform .getLogger ().warning ("Please update your Java runtime to at least Java 21 (your version is " + javaVersion + ")." );
252+ platform .getLogger ().warning ("At some point in the future, ViaVersion will no longer be compatible with this version of Java." );
250253 }
251254 }
252255
You can’t perform that action at this time.
0 commit comments