mirror of
https://github.com/Kas-tle/java2bedrock.sh.git
synced 2025-12-19 14:59:13 +00:00
Recover on bad texture
This commit is contained in:
@@ -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 '
|
||||
|
||||
Reference in New Issue
Block a user