From e6eecd59b016c330b4bf74c4eb4ab4ceef55a253 Mon Sep 17 00:00:00 2001 From: Kas-tle <26531652+Kas-tle@users.noreply.github.com> Date: Fri, 21 Oct 2022 22:25:50 -0700 Subject: [PATCH] Update converter.sh --- converter.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/converter.sh b/converter.sh index 5a8ab2c..2d6d8d3 100755 --- a/converter.sh +++ b/converter.sh @@ -255,7 +255,7 @@ def gtest($input_g): ' parents.json config.json | sponge config.json # obtain hashes of all model file paths to ensure consistent model naming -jq -r '.[] | [.geyserID,( .path + "/c" + (.nbt.CustomModelData | tostring) + "d" + (.nbt.Damage | tostring) + "u" + (.nbt.Unbreakable | tostring))] | @tsv | gsub("\\t";",")' config.json > paths.csv +jq -r '.[] | [.geyserID,("c" + (.nbt.CustomModelData | tostring) + "_d" + (.nbt.Damage | tostring) + "_u" + (.nbt.Unbreakable | tostring))] | @tsv | gsub("\\t";",")' config.json > paths.csv function write_hash () { local hash=$(echo -n "${1}" | md5sum | head -c 7) && echo "${2},${hash}" >> hashes.csv