Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
Hahaa13 committed Feb 10, 2025
1 parent bfcf02f commit fa79435
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extracts/itemsadder.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def extract(self):
os.makedirs(os.path.dirname(f"output/itemsadder/textures/models/{layer_rendering[layer]}.png"), exist_ok=True)
shutil.copy(file, f"output/itemsadder/textures/models/{layer_rendering[layer]}.png")

self.furnace_data["items"].setdefault(f"minecraft:{material}".lower(), {})[custom_model_data] = {
self.furnace_data["items"].setdefault(f"minecraft:{material}".lower(), {}).setdefault("custom_model_data", {})[custom_model_data] = {
"armor_layer": {
"type": armor_type.lower(),
"texture": f"textures/models/{layer_rendering[layer]}",
Expand Down

0 comments on commit fa79435

Please sign in to comment.