correct launch parameters for neoforge
All checks were successful
Docker Build and Push / build (push) Successful in 1m12s

This commit is contained in:
2025-07-23 13:21:11 -04:00
parent d78cfd39c1
commit 9c8bc802a8

View File

@ -296,8 +296,8 @@ while true; do
echo -e "|-------------------------------------------------------|"
echo -e " "
serverInfoWrite
if [[ -f "run.sh" ]]; then
exec ./run.sh
if [[ "$MC_LOADER" == "neoforge" ]]; then
exec java @user_jvm_args.txt @libraries/net/neoforged/neoforge/$VER_LOADER/unix_args.txt "$@"
else
exec java $RUN_STRING
fi