From e743e9e394ffc962c798571663a77a76fc7e2af9 Mon Sep 17 00:00:00 2001 From: lilingfengdev Date: Sat, 25 May 2024 19:56:00 +0800 Subject: [PATCH] fix action --- auto-install-depend.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/auto-install-depend.py b/auto-install-depend.py index 4d62a49..e574310 100644 --- a/auto-install-depend.py +++ b/auto-install-depend.py @@ -44,8 +44,9 @@ def downloads(): download_task("ViaVersion", "https://qcymc.cloud/f/VjHg/ViaVersion-4.10.1-SNAPSHOT.jar") download_task("ViaBackwards", "https://qcymc.cloud/f/W9ID/ViaBackwards-4.10.1-SNAPSHOT.jar") download_task("AuthMe", "https://qcymc.cloud/f/RDF5/AuthMe-5.6.0-FORK-Universal.jar") - download_task("spark", - "https://ci.lucko.me/job/spark/410/artifact/spark-bukkit/build/libs/spark-1.10.65-bukkit.jar") + if not os.path.exists("plugins/spark"): + download_task("spark", + "https://ci.lucko.me/job/spark/410/artifact/spark-bukkit/build/libs/spark-1.10.65-bukkit.jar") download_task("SkinRestorer", "https://ci.codemc.io/job/SkinsRestorer/job/SkinsRestorer/lastSuccessfulBuild" "/artifact/build/libs/SkinsRestorer.jar")