From cb43b14a932180e5ff733a092d3b5bf6b918b61e Mon Sep 17 00:00:00 2001 From: Kas-tle <26531652+Kas-tle@users.noreply.github.com> Date: Tue, 20 Dec 2022 23:51:27 -0800 Subject: [PATCH] Update converter.sh --- converter.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/converter.sh b/converter.sh index b67755d..656bb91 100755 --- a/converter.sh +++ b/converter.sh @@ -218,7 +218,7 @@ if contains(":") then sub("\\:(.+)"; "") else "minecraft" end | to_entries | map( ((.value.geyserID = "gmdl_\(1+.key)") | .value)) | INDEX(.geyserID) -' "./assets/minecraft/models/item" > config.json || { status_message error "Invalid JSON exists in block or item folder! See above log."; exit 1; } +' ./assets/minecraft/models/item/*.json > config.json || { status_message error "Invalid JSON exists in block or item folder! See above log."; exit 1; } status_message completion "Initial predicate config generated" # get a bash array of all model json files in our resource pack