Used minecraft_server.jar for versions before 1.6

#306
This commit is contained in:
Geoff Bourne 2021-11-06 21:35:57 -05:00
parent cafddd3b12
commit a8de790b57

View file

@ -41,7 +41,7 @@ if [ ! -e "$SERVER" ] || [ -n "$FORCE_REDOWNLOAD" ]; then
fi
fi
if versionLessThan 1.16; then
if versionLessThan 1.6; then
if ! [[ -L /data/minecraft_server.jar && /data/minecraft_server.jar -ef "/data/$SERVER" ]]; then
rm -f /data/minecraft_server.jar
ln -s "/data/$SERVER" /data/minecraft_server.jar