Compare commits

...

2 commits

Author SHA1 Message Date
5f8a9a026d
SIMD is always a good idea 2024-04-20 17:42:51 +02:00
27cf8077a7
Fix MCSD_CUSTOM_ARGS 2024-04-20 17:42:42 +02:00

View file

@ -102,7 +102,7 @@ function check() {
# Compile server arguments
function compile_args() {
echo ":: Compiling server arguments"
export "ARGS=--nogui"
export "ARGS=--nogui --add-modules=jdk.incubator.vector"
case "${MCSD_ENFORCE_FRESH_CACHES}" in
"true")
export "ARGS=${ARGS} --eraseCache"
@ -171,5 +171,5 @@ cd /data||exit 69
if [ -z "${MCSD_CUSTOM_ARGS}" ]; then
exec "/usr/lib/jvm/java-${MCSD_JAVA_VERSION}-openjdk/bin/java" ${FLAGS} -jar "/data/server.jar" ${ARGS}
else
exec "/usr/lib/jvm/java-${MCSD_JAVA_VERSION}-openjdk/bin/java" ${MCSD_CUSTOM_ARGS}
exec "/usr/lib/jvm/java-${MCSD_JAVA_VERSION}-openjdk/bin/java" ${MCSD_CUSTOM_ARGS} -jar "/data/server.jar" ${ARGS}
fi