From cb6643a345d7a84f2d49e6bf1fa9a2840ba7e9bb Mon Sep 17 00:00:00 2001 From: Sascha Askani Date: Mon, 5 Jun 2017 16:08:26 +0200 Subject: [PATCH] Fix FORGEVERSION -> FORGE_VERSION, remove unneeded statement in default case --- minecraft-server/start-minecraft.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/minecraft-server/start-minecraft.sh b/minecraft-server/start-minecraft.sh index e1fa5402..d90931d3 100755 --- a/minecraft-server/start-minecraft.sh +++ b/minecraft-server/start-minecraft.sh @@ -133,7 +133,7 @@ function installForge { esac echo "Checking Forge version information." - case $FORGEVERSION in + case $FORGE_VERSION in RECOMMENDED) curl -fsSL -o /tmp/forge.json http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json FORGE_VERSION=$(cat /tmp/forge.json | jq -r ".promos[\"$VANILLA_VERSION-recommended\"]") @@ -147,9 +147,7 @@ function installForge { fi ;; - *) - FORGE_VERSION=$FORGEVERSION - ;; + *) ;; esac normForgeVersion=$VANILLA_VERSION-$FORGE_VERSION-$norm