fixes
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
MC_VERSION="1.14.4"
|
||||
|
||||
VERSION_CHECK=$(curl -s "https://piston-meta.mojang.com/mc/game/version_manifest_v2.json" | grep -Pom 1 '"url": "\K[^"]*'$MC_VERSION'.json')
|
||||
SERVER_FILE=$(curl -s $VERSION_CHECK | jq --raw-output '.downloads.server.url')
|
||||
MC_SERVER_FILE=$(curl -s $VERSION_CHECK | jq --raw-output '.downloads.server.url')
|
||||
|
||||
echo "Server url: $SERVER_FILE"
|
||||
echo "Server url: $MC_SERVER_FILE"
|
||||
|
||||
wget --no-cache ${SERVER_FILE} -O /mnt/Other/Dockers/minecraft/testing/server-${MC_VERSION}.jar
|
||||
wget --no-cache ${MC_SERVER_FILE} -O /mnt/Other/Dockers/minecraft/testing/server-${MC_VERSION}.jar
|
||||
Reference in New Issue
Block a user