mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Rerverse order of returned server jars versions
Logic I removed in my refactor, whoops! Newest -> oldest
This commit is contained in:
parent
6a71b7d28c
commit
057139c7e1
@ -175,6 +175,7 @@ class ServerJars:
|
||||
for item in data.get("response", [])
|
||||
if "version" in item
|
||||
]
|
||||
versions.reverse() # Reverse so versions are newest -> oldest
|
||||
logger.debug(f"Versions extracted: {versions}")
|
||||
return versions
|
||||
except requests.RequestException as e:
|
||||
|
Loading…
Reference in New Issue
Block a user