From 96598c9c67238d3907dc127f1a71664e600ba6f6 Mon Sep 17 00:00:00 2001 From: Nassim Jahnke Date: Fri, 11 Aug 2023 14:56:41 +1000 Subject: [PATCH] Don't write to last_release file --- README.md | 4 ++++ download_server.py | 2 -- output/mappings-1.20to1.20.nbt | Bin 67 -> 0 bytes 3 files changed, 4 insertions(+), 2 deletions(-) delete mode 100644 output/mappings-1.20to1.20.nbt diff --git a/README.md b/README.md index e0b3dac..f497584 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,10 @@ Optional arguments must follow the two version arguments. * `--generateDiffStubs` to generate empty diff files for missing mappings * `--keepUnknownFields` to keep non-standard fields from json mappings in the compact files +## Updating version files +On Minecraft updates, the `next_release.txt` and `last_release.txt` files need to be updated manually. +`last_release.txt` needs the last release **ViaVersion requires mappings for**. + ## Json format The json files contain a number of Minecraft registries in form of json arrays, where the index corresponds to the id of diff --git a/download_server.py b/download_server.py index ba3befc..599fe7b 100644 --- a/download_server.py +++ b/download_server.py @@ -60,8 +60,6 @@ def main(): with open(last_snapshot_path, 'w') as f: f.write(snapshot) - with open(Path('last_release.txt'), 'w') as f: - f.write(release) sys.exit(0) diff --git a/output/mappings-1.20to1.20.nbt b/output/mappings-1.20to1.20.nbt deleted file mode 100644 index dcb06bd52153a70b5736137afb6dc893e89a1ecd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 67 zcmd;LU|?ooFH0>d&dkqaU|?Y6V&G27$xqHME=ep&EoNrm%1taNNKFaOtV(5Ih;wIT RV9HEkW@cb1h6*q+000~m56%Dp