From 17b3fcf1a06a3e65ae9c42b87833f324507b8997 Mon Sep 17 00:00:00 2001 From: Torrin Leonard <82110564+torrinworx@users.noreply.github.com> Date: Sat, 27 Aug 2022 22:01:05 -0400 Subject: [PATCH] Small fix Resolves Issue #139 --- main/material_generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/material_generator.py b/main/material_generator.py index 9a6374f..230ded3 100644 --- a/main/material_generator.py +++ b/main/material_generator.py @@ -121,7 +121,7 @@ def apply_materials(hierarchy, single_dna, materials_file, enable_rarity): # Gets the Order Number of the Material material_order_num = list(material_list.keys()).index(material_name) - deconstructed_material_dna[a] = str(material_order_num + 1) + deconstructed_material_dna[a] = str(material_order_num) complete = True if not complete: deconstructed_material_dna[a] = "0"