Fix PATH to include java when needed

This commit is contained in:
Geoff Bourne 2021-02-11 14:52:51 -06:00
parent 02e0a47a52
commit f397dd71a9

View File

@ -170,7 +170,7 @@ function copyFilesForCurseForge() {
if ! which java > /dev/null; then
log "Fixing PATH to include java"
PATH="${PATH}:/usr/bin"
PATH="${PATH}:/opt/java/openjdk/bin"
fi
mcServerRunnerArgs="--stop-duration ${STOP_DURATION:-60}s"