Short hotfix until version helper function is done (#520)

This commit is contained in:
hejamu 2020-05-12 01:53:29 +02:00 committed by GitHub
parent 5c0a3a64ab
commit 89fa3ff8fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,16 @@ function buildSpigotFromSource {
cat /data/spigot_build.log
exit 1
fi
mv craftbukkit-*.jar /data/${SERVER}
if [ $VANILLA_VERSION != "1.15.2" -a \
$VANILLA_VERSION != "1.15.1" -a \
$VANILLA_VERSION != "1.15" -a \
$VANILLA_VERSION != "1.14.4" -a \
$VANILLA_VERSION != "1.14.3" -a \
$VANILLA_VERSION != "1.14.2" -a \
$VANILLA_VERSION != "1.14.1" -a \
$VANILLA_VERSION != "1.14" ]; then
mv craftbukkit-*.jar /data/${SERVER}
fi
log "Cleaning up"
rm -rf /data/temp
cd /data