fix: correctly format strings

This commit is contained in:
Martin Prokoph
2025-07-20 16:44:58 +02:00
parent ced8db9633
commit 449143a209

View File

@@ -69,7 +69,7 @@ def processLeaf(root, files, infile, jsonData, args) -> int:
# We don't want to generate assets for compile-only or overlay textures # We don't want to generate assets for compile-only or overlay textures
if leaf.getTextureId() in compileonly_textures or leaf.getTextureId() in overlay_textures.values(): if leaf.getTextureId() in compileonly_textures or leaf.getTextureId() in overlay_textures.values():
printOverride(f"Skipping {"compile-only" if leaf.getTextureId() in compileonly_textures else "overlay"} texture") printOverride(f"Skipping {'compile-only' if leaf.getTextureId() in compileonly_textures else 'overlay'} texture")
return 0 return 0
leaf.use_legacy_model = shouldUseLegacyModel(leaf, root, infile, args) leaf.use_legacy_model = shouldUseLegacyModel(leaf, root, infile, args)