diff options
| author | mat <github@matdoes.dev> | 2022-05-28 18:26:22 -0500 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-05-28 18:26:22 -0500 |
| commit | 6c1aeb4255cf3e9cb09c33fc2e43a9a587eb919e (patch) | |
| tree | 3fe6587dc14e00091bbdcb91de0ff2c57d528739 /codegen/lib/extract.py | |
| parent | 5d764c79d0b2be9a57a863cd2cb31ca47c16beca (diff) | |
| download | azalea-drasl-6c1aeb4255cf3e9cb09c33fc2e43a9a587eb919e.tar.xz | |
Fixed data extractor
Diffstat (limited to 'codegen/lib/extract.py')
| -rw-r--r-- | codegen/lib/extract.py | 2 |
1 files changed, 1 insertions, 1 deletions
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}")}\"' ) |
