parent
a5fdf9b7fb
commit
a4b5559e53
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ 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"]["mod-id"]
|
url = "http://dev.bukkit.org/bukkit-plugins/" + data["update"]["curseforge"]["project-id"]
|
||||||
|
|
||||||
print(data)
|
print(data)
|
||||||
mods[data["name"]] = url
|
mods[data["name"]] = url
|
||||||
|
|
Loading…
Reference in a new issue