diff --git a/scripts/start-configuration b/scripts/start-configuration index b8586c32..4faf1b35 100755 --- a/scripts/start-configuration +++ b/scripts/start-configuration @@ -225,17 +225,14 @@ case "${TYPE^^}" in ;; CUSTOM) - evaluateJavaCompatibilityForForge exec "${SCRIPTS:-/}start-deployCustom" "$@" ;; MAGMA) - evaluateJavaCompatibilityForForge exec "${SCRIPTS:-/}start-deployMagma" "$@" ;; MAGMA_MAINTAINED) - evaluateJavaCompatibilityForForge exec "${SCRIPTS:-/}start-deployMagmaMaintained" "$@" ;; @@ -244,12 +241,10 @@ case "${TYPE^^}" in ;; MOHIST) - evaluateJavaCompatibilityForForge exec "${SCRIPTS:-/}start-deployMohist" "$@" ;; CATSERVER) - evaluateJavaCompatibilityForForge exec "${SCRIPTS:-/}start-deployCatserver" "$@" ;; diff --git a/scripts/start-utils b/scripts/start-utils index ac525dfd..61b7bfd1 100755 --- a/scripts/start-utils +++ b/scripts/start-utils @@ -253,17 +253,6 @@ function isType() { return 1 } -function evaluateJavaCompatibilityForForge() { - javaRelease=$(mc-image-helper java-release) - if versionLessThan 1.18 && (( javaRelease > 8 )); then - log "**********************************************************************" - log "WARNING: Some mods and modpacks may require Java 8." - log " Please use itzg/minecraft-server:java8" - log "**********************************************************************" - sleep 5 - fi -} - function extract() { src=${1?} destDir=${2?}