test
All checks were successful
Update wiki / test (push) Successful in 13s

This commit is contained in:
Ashley Graves 2024-07-27 14:55:49 +02:00
parent a4b5559e53
commit 2fe17450b0

View file

@ -19,9 +19,8 @@ for mod in glob.glob("pack/mods/*.toml"):
if "modrinth" in data["update"]: if "modrinth" in data["update"]:
url = "https://modrinth.com/mod/" + data["update"]["modrinth"]["mod-id"] url = "https://modrinth.com/mod/" + data["update"]["modrinth"]["mod-id"]
elif "curseforge" in data["update"]: elif "curseforge" in data["update"]:
url = "http://dev.bukkit.org/bukkit-plugins/" + data["update"]["curseforge"]["project-id"] url = "http://dev.bukkit.org/bukkit-plugins/" + str(data["update"]["curseforge"]["project-id"])
print(data)
mods[data["name"]] = url mods[data["name"]] = url
with open("wiki/Modlist.md", "w") as f: with open("wiki/Modlist.md", "w") as f: