mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-11-10 02:37:09 +00:00
Used versionLessThan to simplify buildSpigotFromSource check
This commit is contained in:
1 parent
89fa3ff8fe
commit
d24690ab8c
1 file changed
+1
-8
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user