From 968394317fae61bd2ee0930d232d4231d1f21dc6 Mon Sep 17 00:00:00 2001 From: Kas-tle <26531652+Kas-tle@users.noreply.github.com> Date: Sun, 31 Jul 2022 06:05:50 +0000 Subject: [PATCH] Recover on bad texture --- converter.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/converter.sh b/converter.sh index fec126d..0ba872f 100755 --- a/converter.sh +++ b/converter.sh @@ -507,7 +507,7 @@ status_message process "Generating union atlas arrays for all model textures" jq -s ' def namespace: if contains(":") then sub("\\:(.+)"; "") else "minecraft" end; -[.[]| [.textures[]] | unique] +[.[]| [.textures[]?] | unique] | map(map("./assets/" + (. | namespace) + "/textures/" + (. | sub("(.*?)\\:"; "")) + ".png")) ' ${model_list[@]} | sponge union_atlas.temp jq '