9
0
mirror of https://github.com/Kas-tle/java2bedrock.sh.git synced 2025-12-28 02:59:07 +00:00

Only attempt to parse unique parents

This commit is contained in:
Kas-tle
2022-07-28 16:23:36 +00:00
committed by GitHub
parent 3f94277382
commit aa2781c660

View File

@@ -248,7 +248,7 @@ map_values(if real_file(.path) != null then . else empty end)
# get a bash array of all our input models
status_message process "Creating a bash array for remaing models in our predicate config"
model_array=($(jq -r '.[].path' config.json))
model_array=($(jq -r '[.[].path] | unique | .[]' config.json))
# find initial parental information
status_message process "Doing an initial sweep for level 1 parentals"