Update launch.sh

This commit is contained in:
Cobb 2026-01-02 14:16:48 -08:00 committed by GitHub
parent dd2b6c4ebd
commit 64d8826a01
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
set -x set -x
NEOFORGE_VERSION=21.1.217 NEOFORGE_VERSION=21.1.215
SERVER_VERSION=5.4 SERVER_VERSION=5.4
cd /data cd /data
@ -28,7 +28,7 @@ if ! [[ -f "Server-Files-$SERVER_VERSION.zip" ]]; then
rm -fr "$DIR_TEST" rm -fr "$DIR_TEST"
fi fi
curl -Lo neoforge-${NEOFORGE_VERSION}-installer.jar https://api.mohistmc.com/project/youer/1.21.1/builds/418/download curl -Lo neoforge-${NEOFORGE_VERSION}-installer.jar https://api.mohistmc.com/project/youer/1.21.1/builds/382/download
java -jar neoforge-${NEOFORGE_VERSION}-installer.jar --installServer java -jar neoforge-${NEOFORGE_VERSION}-installer.jar --installServer
fi fi