From c678504d495e4d0af636a4a75fedfe633675b192 Mon Sep 17 00:00:00 2001 From: orkeilius Date: Thu, 2 May 2024 09:15:27 +0200 Subject: [PATCH] fix wrong java version on old ver --- rootfs/usr/local/bin/set_mc_ver | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rootfs/usr/local/bin/set_mc_ver b/rootfs/usr/local/bin/set_mc_ver index 667a50c..e2913cb 100755 --- a/rootfs/usr/local/bin/set_mc_ver +++ b/rootfs/usr/local/bin/set_mc_ver @@ -33,9 +33,12 @@ function load_java() { /usr/local/bin/set_java_ver 16 ;; - *) + 1.16* | 1.15* | 1.14* | 1.13*) /usr/local/bin/set_java_ver 11 ;; + *) + /usr/local/bin/set_java_ver 8 + ;; esac