diff options
| author | mat <27899617+mat-1@users.noreply.github.com> | 2025-12-09 11:23:45 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-09 11:23:45 -0600 |
| commit | 84cd261118c9d1e3145d4d1751c0d22098cd8cd8 (patch) | |
| tree | f9beeb5697a4b895423ef24989044fca8afc5594 /codegen/lib/download.py | |
| parent | 676707aab320339b4c7406ee4f494b530f44e926 (diff) | |
| download | azalea-drasl-84cd261118c9d1e3145d4d1751c0d22098cd8cd8.tar.xz | |
1.21.11 (#273)
* run codegen for 25w44a
* 25w44a
* 25w46a
* rename ResourceLocation to Identifier per mojmap changes
* update changelog
* 1.21.11-pre1
* 1.21.11-pre2
* 1.21.11-pre3
* add AttackRange fields from pre4
* 1.21.11-rc3
* 1.21.11
Diffstat (limited to 'codegen/lib/download.py')
| -rw-r--r-- | codegen/lib/download.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/codegen/lib/download.py b/codegen/lib/download.py index de6e2f2d..fa963188 100644 --- a/codegen/lib/download.py +++ b/codegen/lib/download.py @@ -137,7 +137,10 @@ def get_latest_fabric_api_version(): maven_metadata_xml = json.load(f) tree = ET.ElementTree(ET.fromstring(maven_metadata_xml)) - return tree.find(".//latest").text + name = tree.find(".//latest").text + if name.endswith('_unobfuscated'): + name = name[:-len('_unobfuscated')] + return name def get_latest_fabric_kotlin_version(): |
