diff --git a/gen_pack.py b/gen_pack.py index d1422c3..69e6c12 100644 --- a/gen_pack.py +++ b/gen_pack.py @@ -246,7 +246,7 @@ def generateTexture(root, infile, useProgrammerArt=False): else: textureMap[key] = value # Turn texture map into absolute paths for key, value in textureMap.items(): - textureRoot = f"./input/assets/{value.split(":")[0]}/textures/" + textureRoot = f"./input/assets/{value.split(':')[0]}/textures/" textureFile = value.split(":")[1] + ".png" if "/" in textureFile: textureRoot += textureFile.rsplit("/")[0]