From 6c1aeb4255cf3e9cb09c33fc2e43a9a587eb919e Mon Sep 17 00:00:00 2001 From: mat Date: Sat, 28 May 2022 18:26:22 -0500 Subject: Fixed data extractor --- codegen/lib/extract.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'codegen/lib/extract.py') diff --git a/codegen/lib/extract.py b/codegen/lib/extract.py index 82ae257d..2e46736e 100644 --- a/codegen/lib/extract.py +++ b/codegen/lib/extract.py @@ -12,7 +12,7 @@ def generate_data_from_server_jar(version_id: str): get_server_jar(version_id) os.system( - f'java -jar {get_dir_location(f"downloads/server-{version_id}.jar")} --all --output {get_dir_location(f"downloads/generated-{version_id}")}' + f'cd {get_dir_location(f"downloads")} && java -DbundlerMainClass=net.minecraft.data.Main -jar {get_dir_location(f"downloads/server-{version_id}.jar")} --all --output \"{get_dir_location(f"downloads/generated-{version_id}")}\"' ) -- cgit v1.2.3