Wilder Wild compatibility

Finally, a mod that organizes assets correctly :)
- Closes #2
This commit is contained in:
Martin Prokoph
2024-12-06 21:47:18 +01:00
parent ce30e048e8
commit 870d8313bd
59 changed files with 1325 additions and 1 deletions

View File

@@ -128,7 +128,6 @@ def scanPacksForTexture(baseRoot, baseInfile):
for root, dirs, files in os.walk("./input/texturepacks"):
for infile in files:
if "assets" in root and "assets" in baseRoot:
#print(root.split("assets")[1] + " -> " + infile + " | " + baseRoot.split("assets")[1] + " -> " + baseInfile)
if infile.endswith(".png") and (len(root.split("/")) > 3) and (baseInfile == infile) and (root.split("assets")[1] == baseRoot.split("assets")[1]):
printCyan(" Using texture from: " + root.split("assets")[0].replace("./input/texturepacks/", ""))
return root;