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