mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-12-13 13:52:27 +00:00
Used versionLessThan to simplify buildSpigotFromSource check
This commit is contained in:
parent
89fa3ff8fe
commit
d24690ab8c
1 changed files with 1 additions and 8 deletions
|
@ -20,14 +20,7 @@ function buildSpigotFromSource {
|
|||
cat /data/spigot_build.log
|
||||
exit 1
|
||||
fi
|
||||
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
|
||||
if versionLessThan "1.14"; then
|
||||
mv craftbukkit-*.jar /data/${SERVER}
|
||||
fi
|
||||
log "Cleaning up"
|
||||
|
|
Loading…
Reference in a new issue