diff --git a/minecraft-server/start-minecraft.sh b/minecraft-server/start-minecraft.sh index a3252e55..bb65c4c6 100755 --- a/minecraft-server/start-minecraft.sh +++ b/minecraft-server/start-minecraft.sh @@ -211,7 +211,8 @@ function installForge { fi # NOTE $shortForgeVersion will be empty if installer location was given to us - SERVER=$(ls *forge*$shortForgeVersion*.jar) + forgeJars=$(ls *forge*$shortForgeVersion*.jar) + SERVER=${forgeJars/$FORGE_INSTALLER/} if [ -z $SERVER ]; then echo "Unable to derive server jar for Forge" exit 2