mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-05-20 10:55:23 +00:00
Shifted PATH-fix earlier in startup
This commit is contained in:
@@ -54,6 +54,11 @@ if [[ $RCON_PASSWORD_FILE ]]; then
|
||||
log ""
|
||||
fi
|
||||
|
||||
if ! which java > /dev/null; then
|
||||
log "Fixing PATH to include java"
|
||||
PATH="${PATH}:/opt/java/openjdk/bin"
|
||||
fi
|
||||
|
||||
export VERSIONS_JSON=https://launchermeta.mojang.com/mc/game/version_manifest.json
|
||||
|
||||
case "X$VERSION" in
|
||||
|
||||
Reference in New Issue
Block a user