mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-12-14 22:32:28 +00:00
[mc] Avoid trying to run forge installer as server
This commit is contained in:
parent
2891e1ac3e
commit
24c68b9c2c
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue