Skip to content

Commit 3a8aa87

Browse files
committed
Update special source to fix decompilation on 1.20.5
1 parent 5e386dc commit 3a8aa87

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

lib/SpecialSource-1.11.4.jar

2.22 MB
Binary file not shown.

lib/SpecialSource-1.9.1.jar

-1.77 MB
Binary file not shown.

main.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
assert sys.version_info >= (3, 7)
2121

2222
CFR_VERSION = "0.152"
23+
SPECIAL_SOURCE_VERSION = "1.11.4"
2324
MANIFEST_LOCATION = "https://piston-meta.mojang.com/mc/game/version_manifest_v2.json"
2425
CLIENT = "client"
2526
SERVER = "server"
@@ -306,7 +307,7 @@ def remap(version, side, quiet):
306307
sys.exit(-1)
307308
path = path_temp
308309
mapp = Path(f'mappings/{version}/{side}.tsrg')
309-
specialsource = Path('./lib/SpecialSource-1.9.1.jar')
310+
specialsource = Path(f'./lib/SpecialSource-{SPECIAL_SOURCE_VERSION}.jar')
310311
if path.exists() and mapp.exists() and specialsource.exists() and path.is_file() and mapp.is_file() and specialsource.is_file():
311312
path = path.resolve()
312313
mapp = mapp.resolve()
@@ -325,7 +326,7 @@ def remap(version, side, quiet):
325326
else:
326327
if not quiet:
327328
print(
328-
f'ERROR: Missing files: ./lib/SpecialSource-1.8.6.jar or mappings/{version}/{side}.tsrg or versions/{version}/{side}.jar')
329+
f'ERROR: Missing files: ./lib/SpecialSource-{SPECIAL_SOURCE_VERSION}.jar or mappings/{version}/{side}.tsrg or versions/{version}/{side}.jar')
329330
input("Aborting, press anything to exit")
330331
sys.exit(-1)
331332

0 commit comments

Comments
 (0)