From f397dd71a9e6891eb39194a42cffff28baa737f6 Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Thu, 11 Feb 2021 14:52:51 -0600 Subject: [PATCH] Fix PATH to include java when needed --- start-minecraftFinalSetup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start-minecraftFinalSetup b/start-minecraftFinalSetup index b9a35ba9..3a2d1df1 100644 --- a/start-minecraftFinalSetup +++ b/start-minecraftFinalSetup @@ -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"