Update purpur download location

This commit is contained in:
ME1312 2021-09-28 02:40:19 -04:00
parent 594ba30c64
commit a3896eccd4
No known key found for this signature in database
GPG Key ID: FEFFE2F698E88FA8

View File

@ -29,7 +29,7 @@ if [[ -f "Purpur.jar" ]]; then
fi
mv Purpur.jar Purpur.old.jar.x
fi
__DL Purpur.jar "https://purpur.pl3x.net/api/v1/purpur/$version/latest/download"; __RETURN=$?
__DL Purpur.jar "https://api.pl3x.net/v2/purpur/$version/latest/download"; __RETURN=$?
if [[ $__RETURN -eq 0 ]]; then
if [[ $(stat -c%s "Purpur.jar") -ge 1000000 ]]; then
echo Cleaning Up...